Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
* Strict Standards: Only variables should be passed by reference
  • Loading branch information
bakkerpeter committed Feb 1, 2016
1 parent 9e86cdd commit 5c4c0fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ private function _getPrimaryKey() {
* @return string
*/
private function _getPath() {
return strtolower(end(explode("\\", get_called_class())));
$classPath = explode("\\", get_called_class());
return strtolower(end($classPath));
}

}

0 comments on commit 5c4c0fe

Please sign in to comment.