Skip to content
Permalink
Browse files

Micro optimization, methods names are case insensitive.

  • Loading branch information...
ADmad committed Sep 6, 2014
1 parent 4d183f8 commit 66a9760492182c4bdb07701374ef1340a4b73e52
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/Table.php
@@ -1456,7 +1456,7 @@ protected function _processDelete($entity, $options) {
public function callFinder($type, Query $query, array $options = []) {
$query->applyOptions($options);
$options = $query->getOptions();
$finder = 'find' . ucfirst($type);
$finder = 'find' . $type;
if (method_exists($this, $finder)) {
return $this->{$finder}($query, $options);
}

0 comments on commit 66a9760

Please sign in to comment.
You can’t perform that action at this time.