From: Nicolas Iooss Date: Mon, 14 Oct 2013 19:10:14 +0000 (+0200) Subject: Fix PlErrorReport::fromCSV by adding a missing static X-Git-Tag: core/1.1.11~8 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=3287ae38abbde7eb19260c69190096cef7e66064;p=platal.git Fix PlErrorReport::fromCSV by adding a missing static Signed-off-by: Nicolas Iooss --- diff --git a/classes/plerrorreport.php b/classes/plerrorreport.php index cf32c63..8d9b8a8 100644 --- a/classes/plerrorreport.php +++ b/classes/plerrorreport.php @@ -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])); }