projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PlErrorReport::fromCSV by adding a missing static
[platal.git]
/
classes
/
plerrorreport.php
diff --git
a/classes/plerrorreport.php
b/classes/plerrorreport.php
index
cf32c63
..
8d9b8a8
100644
(file)
--- a/
classes/plerrorreport.php
+++ b/
classes/plerrorreport.php
@@
-37,7
+37,7
@@
class PlErrorReport
return array($this->date, $this->error, serialize($this->state));
}
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]));
}
{
return new PlErrorReport($entry[0], $entry[1], unserialize($entry[2]));
}