Completed
Push — develop ( bb7f99...d04bd8 )
by Victor
03:30
created
src/AppBundle/Controller/Admin/UserController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
         if ($action == "edit") {
112 112
             $user = $em->getRepository('AppBundle:User')
113 113
                 ->find($id);
114
-            $title = 'Edit user id: '.$id;
114
+            $title = 'Edit user id: ' . $id;
115 115
         }
116 116
         else {
117 117
             $user = new User();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,7 @@
 block discarded – undo
112 112
             $user = $em->getRepository('AppBundle:User')
113 113
                 ->find($id);
114 114
             $title = 'Edit user id: '.$id;
115
-        }
116
-        else {
115
+        } else {
117 116
             $user = new User();
118 117
             $title = 'Create new user';
119 118
         }
Please login to merge, or discard this patch.
src/AppBundle/Controller/Admin/ArticleController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         if ($action == "edit") {
65 65
             $article = $em->getRepository('AppBundle:Article')
66 66
                 ->find($id);
67
-            $title = 'Edit article id: '.$id;
67
+            $title = 'Edit article id: ' . $id;
68 68
         }
69 69
         else {
70 70
             $article = new Article();
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
             $article = $em->getRepository('AppBundle:Article')
66 66
                 ->find($id);
67 67
             $title = 'Edit article id: '.$id;
68
-        }
69
-        else {
68
+        } else {
70 69
             $article = new Article();
71 70
             $title = 'Create new article';
72 71
         }
Please login to merge, or discard this patch.