@@ -122,7 +122,7 @@ |
||
122 | 122 | */ |
123 | 123 | public function last() |
124 | 124 | { |
125 | - return empty($this->collection) ? null : $this->collection[count($this->collection) - 1]; |
|
125 | + return empty($this->collection) ? null : $this->collection[count($this->collection)-1]; |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | /** |