Completed
Push — develop ( 4ac79b...65c32c )
by Neomerx
05:39 queued 03:34
created
src/Session/SessionFunctions.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -176,22 +176,22 @@
 block discarded – undo
176 176
     public function __construct()
177 177
     {
178 178
         $this
179
-            ->setRetrieveCallable(function (string $key) {
179
+            ->setRetrieveCallable(function(string $key) {
180 180
                 return $_SESSION[$key];
181 181
             })
182
-            ->setPutCallable(function (string $key, $serializable): void {
182
+            ->setPutCallable(function(string $key, $serializable): void {
183 183
                 $_SESSION[$key] = $serializable;
184 184
             })
185
-            ->setHasCallable(function (string $key): bool {
185
+            ->setHasCallable(function(string $key): bool {
186 186
                 return array_key_exists($key, $_SESSION);
187 187
             })
188
-            ->setDeleteCallable(function (string $key): void {
188
+            ->setDeleteCallable(function(string $key): void {
189 189
                 unset($_SESSION[$key]);
190 190
             })
191
-            ->setIteratorCallable(function (): Iterator {
191
+            ->setIteratorCallable(function(): Iterator {
192 192
                 return new ArrayIterator($_SESSION);
193 193
             })
194
-            ->setCouldBeStartedCallable(function (): bool {
194
+            ->setCouldBeStartedCallable(function(): bool {
195 195
                 return session_status() === PHP_SESSION_NONE;
196 196
             })
197 197
             ->setAbortCallable('\session_abort')
Please login to merge, or discard this patch.
src/Authorization/AuthorizationRulesLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
             if ($reflectionMethod->isPublic() === true &&
114 114
                 $reflectionMethod->isStatic() === true &&
115 115
                 $reflectionMethod->hasReturnType() === true &&
116
-                (string)$reflectionMethod->getReturnType() === 'bool' &&
116
+                (string) $reflectionMethod->getReturnType() === 'bool' &&
117 117
                 $reflectionMethod->getNumberOfParameters() === 1 &&
118 118
                 $reflectionMethod->getParameters()[0]->getClass()->implementsInterface(ContextInterface::class) === true
119 119
             ) {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         }
163 163
 
164 164
         $policy = (new Policy($rules, RuleAlgorithm::firstApplicable()))
165
-            ->setName($policiesName . ' -> ResourceType' . "=`$resourcesType`")
165
+            ->setName($policiesName.' -> ResourceType'."=`$resourcesType`")
166 166
             ->setTarget($this->target(RequestProperties::REQ_RESOURCE_TYPE, $resourcesType));
167 167
 
168 168
         return $policy;
Please login to merge, or discard this patch.
src/Data/ModelSchemaInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     public function setData(array $data): self
111 111
     {
112 112
         list($this->foreignKeys, $this->belongsToMany, $this->relationshipTypes,
113
-            $this->reversedRelationships,$this->tableNames, $this->primaryKeys,
113
+            $this->reversedRelationships, $this->tableNames, $this->primaryKeys,
114 114
             $this->attributeTypes, $this->attributeLengths, $this->attributes, $this->rawAttributes,
115 115
             $this->reversedClasses) = $data;
116 116
 
Please login to merge, or discard this patch.