Completed
Branch v2.0.0 (b48978)
by Alexander
04:36
created
app/domain/User/UseCase/FetchUserCase.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,8 @@
 block discarded – undo
12 12
 {
13 13
     private $repository;
14 14
 
15
-    public function __construct() {
15
+    public function __construct()
16
+    {
16 17
         $this->repository = new UserRepository();
17 18
     }
18 19
 
Please login to merge, or discard this patch.
app/domain/User/UseCase/UserPasswordCase.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@
 block discarded – undo
11 11
 {
12 12
     private $repository;
13 13
 
14
-    public function __construct() {
14
+    public function __construct()
15
+    {
15 16
         $this->repository = new UserRepository();
16 17
     }
17 18
 }
18 19
\ No newline at end of file
Please login to merge, or discard this patch.
app/framework/web/src/WebRouter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,8 @@
 block discarded – undo
15 15
     /* @var $router Router */
16 16
     private $router;
17 17
 
18
-    public function __construct(DiInterface $container, Manager $eventsManager) {
18
+    public function __construct(DiInterface $container, Manager $eventsManager)
19
+    {
19 20
         $this->setDI($container);
20 21
         $this->init();
21 22
         $this->router->setEventsManager($eventsManager);
Please login to merge, or discard this patch.
app/framework/web/src/WebEventsManager.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
     }
30 30
 
31 31
         /**
32
-     * @return Manager
33
-     */
32
+         * @return Manager
33
+         */
34 34
     private function init()
35 35
     {
36 36
         $eventsManager = new Manager();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $eventsManager = new Manager();
37 37
 
38
-        $eventsManager->attach('dispatch:beforeExecuteRoute', function(Event $event, Dispatcher $dispatcher) {
38
+        $eventsManager->attach('dispatch:beforeExecuteRoute', function (Event $event, Dispatcher $dispatcher) {
39 39
             return $this->dispatchBeforeExecuteRoute($dispatcher);
40 40
         });
41 41
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $accessRoles = $annotationAccess->getArguments();
79 79
 
80 80
             if (!empty($accessRoles)) {
81
-                foreach($accessRoles as $role) {
81
+                foreach ($accessRoles as $role) {
82 82
                     $acl->allow($role, $controllerName, $actionName);
83 83
                 }
84 84
             }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,8 @@
 block discarded – undo
18 18
     /* @var $eventsManager Manager */
19 19
     private $eventsManager;
20 20
 
21
-    public function __construct(DiInterface $container) {
21
+    public function __construct(DiInterface $container)
22
+    {
22 23
         $this->setDI($container);
23 24
         $this->init();
24 25
     }
Please login to merge, or discard this patch.