Completed
Pull Request — dev (#22)
by
unknown
03:03
created
src/AppBundle/Controller/Api/DefaultController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 class DefaultController extends Controller
13 13
 {
14 14
     /**
15
-
16 15
      * @param Request $request
17 16
      * @Route("/login", name="api_login")
18 17
      * @Method("POST")
Please login to merge, or discard this patch.
src/AppBundle/Form/UserType.php 2 patches
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 /**
14 14
  * Class UserType
15 15
  * @package AppBundle\Form
16
-
17 16
  */
18 17
 class UserType extends AbstractType
19 18
 {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $resolver->setDefaults(array(
74 74
             'data_class' => 'AppBundle\Entity\User',
75
-            'validation_groups' => array('registration','edit'),
75
+            'validation_groups' => array('registration', 'edit'),
76 76
         ));
77 77
     }
78 78
 }
Please login to merge, or discard this patch.
src/AppBundle/Repository/UserRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
                 ->orWhere(
42 42
                     $postsQuery->expr()->like('u.lastName', ':name')
43 43
                 )
44
-                ->setParameter('name', '%' . $params->get('name') . '%');
44
+                ->setParameter('name', '%'.$params->get('name').'%');
45 45
         }
46 46
 
47 47
         return $postsQuery->getQuery()->getResult();
Please login to merge, or discard this patch.