Fix PlErrorReport::fromCSV by adding a missing static
[platal.git] / classes / plerrorreport.php
index cf32c63..8d9b8a8 100644 (file)
@@ -37,7 +37,7 @@ class PlErrorReport
         return array($this->date, $this->error, serialize($this->state));
     }
 
-    public function fromCSV(array $entry)
+    public static function fromCSV(array $entry)
     {
         return new PlErrorReport($entry[0], $entry[1], unserialize($entry[2]));
     }