Completed
Branch master (7eae42)
by Thiago
14:03
created
src/Bootstrap.php 1 patch
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.
src/Controller/Home/Index.php 1 patch
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.
src/Controller/Users/User.php 1 patch
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.
src/Service/Users/User.php 1 patch
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.