Completed
Branch master (7eae42)
by Thiago
14:03
created
src/Bootstrap.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,13 +115,17 @@
 block discarded – undo
115 115
     /**
116 116
      * Load controllers
117 117
      *
118
-     * @param $routeFile
118
+     * @param string|null $routeFile
119 119
      * @internal param string $routesPath
120 120
      */
121 121
     private function controllers($routeFile)
122 122
     {
123 123
         $this['routes'] = $this->extend(
124 124
             'routes',
125
+
126
+            /**
127
+             * @param string|null $routes
128
+             */
125 129
             function (RouteCollection $routes) use ($routeFile) {
126 130
                 $routesPath = dirname($routeFile);
127 131
                 $loader     = new RoutingFileLoader(new FileLocator($routesPath));
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel;
8 8
 
9 9
 use Skel\Response as View;
Please login to merge, or discard this patch.
src/Controller/Home/Index.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      * GET Request for /
21 21
      *
22 22
      * @param  Application $app
23
-     * @return Application
23
+     * @return View
24 24
      */
25 25
     public function get(Application $app)
26 26
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Controller\Home;
8 8
 
9 9
 use Skel\Bootstrap as Application;
Please login to merge, or discard this patch.
src/Controller/Users/User.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,6 @@
 block discarded – undo
78 78
      * Create an user
79 79
      *
80 80
      * @param  Application $app
81
-     * @param  Request $app['request']
82 81
      * @return View
83 82
      */
84 83
     public function create(Application $app)
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Controller\Users;
8 8
 
9 9
 use Skel\Bootstrap as Application;
Please login to merge, or discard this patch.
src/Service/Users/User.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
      *
91 91
      * @param UserModel $user
92 92
      * @param Request $request
93
-     * @return mixed
93
+     * @return UserModel
94 94
      */
95 95
     public function update(UserModel $user, Request $request)
96 96
     {
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Service\Users;
8 8
 
9 9
 use Skel\Entity\EntityInterface;
Please login to merge, or discard this patch.
src/Controller/Users/UserInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Controller\Users;
8 8
 
9 9
 use Skel\Bootstrap as Application;
Please login to merge, or discard this patch.
src/Console/Stats/Stats.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Console\Stats;
8 8
 
9 9
 use Knp\Command\Command;
Please login to merge, or discard this patch.
src/Console/Stats/StatsInterface.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Console\Stats;
8 8
 
9 9
 use Symfony\Component\Console\Input\InputInterface;
Please login to merge, or discard this patch.
src/Response.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel;
8 8
 
9 9
 use JMS\Serializer\SerializerBuilder;
Please login to merge, or discard this patch.
src/Factory/Users/User.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of Skel system
4
- *
5
- * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
- */
3
+     * This file is part of Skel system
4
+     *
5
+     * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
6
+     */
7 7
 namespace Skel\Factory\Users;
8 8
 
9 9
 use Skel\Entity\Users\User as UserModel;
Please login to merge, or discard this patch.