Passed
Push — master ( a26db6...b381e6 )
by Björn
04:01 queued 11s
created
module/Admin/src/Admin/Factory/ClientsControllerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param ServiceLocatorInterface $serviceLocator
28 28
      *
29
-     * @return mixed
29
+     * @return ClientsController
30 30
      */
31 31
     public function createService(ServiceLocatorInterface $serviceLocator)
32 32
     {
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/ClientsTableFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param ServiceLocatorInterface $serviceLocator
37 37
      *
38
-     * @return Admin\Model\ClientsTable
38
+     * @return ClientsTable
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Zend\Db\TableGateway\TableGateway;
20 20
 use Zend\ServiceManager\FactoryInterface;
21 21
 use Zend\ServiceManager\ServiceLocatorInterface;
22
-
23 22
 use Admin\Model\Clients;
24 23
 use Admin\Model\ClientsTable;
25 24
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
42
-        $dbAdapter            = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
-        $resultSetPrototype    = new ResultSet();
42
+        $dbAdapter = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
+        $resultSetPrototype = new ResultSet();
44 44
         $resultSetPrototype->setArrayObjectPrototype(new Clients());
45
-        $tableGateway        = new TableGateway('clients', $dbAdapter, null, $resultSetPrototype);
46
-        $table                = new ClientsTable($tableGateway);
45
+        $tableGateway = new TableGateway('clients', $dbAdapter, null, $resultSetPrototype);
46
+        $table = new ClientsTable($tableGateway);
47 47
         return $table;
48 48
     }
49 49
 }
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/IndexControllerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param ServiceLocatorInterface $serviceLocator
28 28
      *
29
-     * @return mixed
29
+     * @return IndexController
30 30
      */
31 31
     public function createService(ServiceLocatorInterface $serviceLocator)
32 32
     {
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/SettingsControllerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param ServiceLocatorInterface $serviceLocator
28 28
      *
29
-     * @return mixed
29
+     * @return SettingsController
30 30
      */
31 31
     public function createService(ServiceLocatorInterface $serviceLocator)
32 32
     {
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/SettingsTableFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param ServiceLocatorInterface $serviceLocator
37 37
      *
38
-     * @return Admin\Model\SettingsTable
38
+     * @return SettingsTable
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Zend\Db\TableGateway\TableGateway;
20 20
 use Zend\ServiceManager\FactoryInterface;
21 21
 use Zend\ServiceManager\ServiceLocatorInterface;
22
-
23 22
 use Admin\Model\Settings;
24 23
 use Admin\Model\SettingsTable;
25 24
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
42
-        $dbAdapter            = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
-        $resultSetPrototype    = new ResultSet();
42
+        $dbAdapter = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
+        $resultSetPrototype = new ResultSet();
44 44
         $resultSetPrototype->setArrayObjectPrototype(new Settings());
45
-        $tableGateway        = new TableGateway('settings', $dbAdapter, null, $resultSetPrototype);
46
-        $table                = new SettingsTable($tableGateway);
45
+        $tableGateway = new TableGateway('settings', $dbAdapter, null, $resultSetPrototype);
46
+        $table = new SettingsTable($tableGateway);
47 47
         return $table;
48 48
     }
49 49
 }
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/UserProfileTableFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param ServiceLocatorInterface $serviceLocator
37 37
      *
38
-     * @return Admin\Model\UserProfileTable
38
+     * @return UserProfileTable
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Zend\Db\TableGateway\TableGateway;
20 20
 use Zend\ServiceManager\FactoryInterface;
21 21
 use Zend\ServiceManager\ServiceLocatorInterface;
22
-
23 22
 use Admin\Model\UserProfile;
24 23
 use Admin\Model\UserProfileTable;
25 24
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
42
-        $dbAdapter            = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
-        $resultSetPrototype    = new ResultSet();
42
+        $dbAdapter = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
+        $resultSetPrototype = new ResultSet();
44 44
         $resultSetPrototype->setArrayObjectPrototype(new UserProfile());
45
-        $tableGateway        = new TableGateway('userprofile', $dbAdapter, null, $resultSetPrototype);
46
-        $table                = new UserProfileTable($tableGateway);
45
+        $tableGateway = new TableGateway('userprofile', $dbAdapter, null, $resultSetPrototype);
46
+        $table = new UserProfileTable($tableGateway);
47 47
         return $table;
48 48
     }
49 49
 }
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/UsersControllerFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @param ServiceLocatorInterface $serviceLocator
28 28
      *
29
-     * @return mixed
29
+     * @return UsersController
30 30
      */
31 31
     public function createService(ServiceLocatorInterface $serviceLocator)
32 32
     {
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/UserTableFactory.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param ServiceLocatorInterface $serviceLocator
37 37
      *
38
-     * @return Admin\Model\UserTable
38
+     * @return UserTable
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use Zend\Db\TableGateway\TableGateway;
20 20
 use Zend\ServiceManager\FactoryInterface;
21 21
 use Zend\ServiceManager\ServiceLocatorInterface;
22
-
23 22
 use Admin\Model\User;
24 23
 use Admin\Model\UserTable;
25 24
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,11 +39,11 @@
 block discarded – undo
39 39
      */
40 40
     public function createService(ServiceLocatorInterface $serviceLocator)
41 41
     {
42
-        $dbAdapter            = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
-        $resultSetPrototype    = new ResultSet();
42
+        $dbAdapter = $serviceLocator->get('Zend\Db\Adapter\Adapter');
43
+        $resultSetPrototype = new ResultSet();
44 44
         $resultSetPrototype->setArrayObjectPrototype(new User());
45
-        $tableGateway        = new TableGateway('user', $dbAdapter, null, $resultSetPrototype);
46
-        $table                = new UserTable($tableGateway);
45
+        $tableGateway = new TableGateway('user', $dbAdapter, null, $resultSetPrototype);
46
+        $table = new UserTable($tableGateway);
47 47
         return $table;
48 48
     }
49 49
 }
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
module/Admin/src/Admin/Factory/ZfcuserControllerFactory.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,9 +24,8 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Create service
26 26
      *
27
-     * @param ServiceLocatorInterface $serviceLocator
28 27
      *
29
-     * @return mixed
28
+     * @return ZfcuserController
30 29
      * /
31 30
     public function createService(ServiceLocatorInterface $serviceLocator)
32 31
     {
@@ -38,7 +37,7 @@  discard block
 block discarded – undo
38 37
      * Create service
39 38
      *
40 39
      * @param ServiceLocatorInterface $controllerManager
41
-     * @return mixed
40
+     * @return ZfcuserController
42 41
      */
43 42
     public function createService(ServiceLocatorInterface $controllerManager)
44 43
     {
Please login to merge, or discard this patch.