Passed
Push — master ( 50583e...83ee70 )
by Gabor
13:42 queued 03:31
created
src/WebHemi/StringLib.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
         $parts = explode('#', $input);
43 43
         array_walk(
44 44
             $parts,
45
-            function (&$value) {
45
+            function(&$value) {
46 46
                 $value = ucfirst(strtolower($value));
47 47
             }
48 48
         );
Please login to merge, or discard this patch.
src/WebHemi/Middleware/Action/Admin/DashboardAction.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 namespace WebHemi\Middleware\Action\Admin;
15 15
 
16
-use WebHemi\Environment\ServiceInterface as EnvironmentInterface;
17 16
 use WebHemi\Auth\ServiceInterface as AuthInterface;
17
+use WebHemi\Environment\ServiceInterface as EnvironmentInterface;
18 18
 use WebHemi\Middleware\Action\AbstractMiddlewareAction;
19 19
 
20 20
 /**
Please login to merge, or discard this patch.
src/WebHemi/DependencyInjection/ServiceAdapter/Base/ServiceAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
             // Create new instance.
112 112
             $className = $this->serviceLibrary[$identifier][self::SERVICE_CLASS];
113 113
             $reflectionClass = new ReflectionClass($className);
114
-            $serviceInstance =  $reflectionClass->newInstanceArgs($argumentList);
114
+            $serviceInstance = $reflectionClass->newInstanceArgs($argumentList);
115 115
 
116 116
             // Perform post init method calls.
117 117
             foreach ($this->serviceLibrary[$identifier][self::SERVICE_METHOD_CALL] as $methodCallList) {
Please login to merge, or discard this patch.
src/WebHemi/Data/Storage/User/UserMetaStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * Returns a User Meta data list identified by user ID.
118 118
      *
119 119
      * @param  int $userId
120
-     * @return array
120
+     * @return \WebHemi\Data\Entity\ApplicationEntity
121 121
      */
122 122
     public function getUserMetaArrayForUserId(int $userId) : array
123 123
     {
Please login to merge, or discard this patch.
src/WebHemi/GeneralLib.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     public static function mergeArrayOverwrite()
71 71
     {
72 72
         if (func_num_args() < 2) {
73
-            throw new InvalidArgumentException(__CLASS__ . '::' . __METHOD__ . ' needs two or more array arguments');
73
+            throw new InvalidArgumentException(__CLASS__.'::'.__METHOD__.' needs two or more array arguments');
74 74
         }
75 75
         $arrays = func_get_args();
76 76
         $merged = [];
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         while ($arrays) {
79 79
             $array = array_shift($arrays);
80 80
             if (!is_array($array)) {
81
-                throw new InvalidArgumentException(__CLASS__ . '::' . __METHOD__ . ' encountered a non array argument');
81
+                throw new InvalidArgumentException(__CLASS__.'::'.__METHOD__.' encountered a non array argument');
82 82
             }
83 83
             if (!$array) {
84 84
                 continue;
Please login to merge, or discard this patch.