Passed
Branch develop (6624c8)
by Stone
04:19
created
src/Controller/Trick/SearchTrickController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
- * @Route("/search/{categoryId}", name="trick.search")
29
- */
28
+     * @Route("/search/{categoryId}", name="trick.search")
29
+     */
30 30
     public function search($categoryId = "")
31 31
     {
32 32
         $categories = $this->categoryRepository->findAll();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     {
32 32
         $categories = $this->categoryRepository->findAll();
33 33
         $criteria = array();
34
-        if($categoryId !== ""){
34
+        if ($categoryId !== "") {
35 35
             $criteria = array('category' => $categoryId);
36 36
         }
37 37
         $tricks = $this->trickRepository->findBy($criteria);
Please login to merge, or discard this patch.