Browse Source

Fix PHPCS

Mark Story 8 years ago
parent
commit
600bb5db8d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Controller/Component/PaginatorComponentTest.php

+ 1 - 1
tests/TestCase/Controller/Component/PaginatorComponentTest.php

@@ -219,7 +219,7 @@ class PaginatorComponentTest extends TestCase
         $tags = TableRegistry::get('Tags');
         $tags->belongsToMany('Authors');
 
-        $articles->eventManager()->on('Model.beforeFind', function($event, $query) {
+        $articles->eventManager()->on('Model.beforeFind', function ($event, $query) {
             $query ->matching('Tags', function ($q) {
                 return $q->matching('Authors', function ($q) {
                     return $q->where(['Authors.name' => 'larry']);