Completed
Push — master ( b9b773...5bbb0b )
by Gabor
64:05
created
src/WebHemi/Adapter/Data/PDO/PDOAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
         }
223 223
 
224 224
         if (!empty($queryParams)) {
225
-            $whereExpression = ' WHERE ' . implode(' AND ', $queryParams);
225
+            $whereExpression = ' WHERE '.implode(' AND ', $queryParams);
226 226
         }
227 227
 
228 228
         return $whereExpression;
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
      *
277 277
      * @codeCoverageIgnore Don't test external library.
278 278
      */
279
-    private function bindValuesToStatement(PDOStatement &$statement, array $queryBind)
279
+    private function bindValuesToStatement(PDOStatement&$statement, array $queryBind)
280 280
     {
281 281
         foreach ($queryBind as $index => $data) {
282 282
             $paramType = PDO::PARAM_STR;
Please login to merge, or discard this patch.
src/WebHemi/Adapter/DependencyInjection/Symfony/SymfonyAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -255,8 +255,8 @@
 block discarded – undo
255 255
         $normalizedName = $this->getNormalizedName($serviceClass, $parameterName);
256 256
 
257 257
         // If the parameter marked as to be used as a scalar
258
-        if (is_scalar($parameter) && strpos((string)$parameter, '!:') === 0) {
259
-            $parameter = substr((string)$parameter, 2);
258
+        if (is_scalar($parameter) && strpos((string) $parameter, '!:') === 0) {
259
+            $parameter = substr((string) $parameter, 2);
260 260
         } else {
261 261
             // Otherwise check if the parameter is a service.
262 262
             $parameter = $this->getReferenceServiceIfAvailable($parameter);
Please login to merge, or discard this patch.
src/WebHemi/Middleware/AbstractMiddlewareAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      *
51 51
      * @return ResponseInterface
52 52
      */
53
-    final public function __invoke(ServerRequestInterface &$request, ResponseInterface $response)
53
+    final public function __invoke(ServerRequestInterface&$request, ResponseInterface $response)
54 54
     {
55 55
         $this->request = $request;
56 56
         $this->response = $response;
Please login to merge, or discard this patch.
src/WebHemi/Form/FormInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,13 +22,14 @@
 block discarded – undo
22 22
      * @param string $name
23 23
      * @param string $action
24 24
      * @param string $method
25
+     * @return void
25 26
      */
26 27
     public function __construct($name, $action = '', $method = 'POST');
27 28
 
28 29
     /**
29 30
      * Gets the form elements.
30 31
      *
31
-     * @return FormElement[];
32
+     * @return FormElement[]
32 33
      */
33 34
     public function getChildNodes();
34 35
 
Please login to merge, or discard this patch.
src/WebHemi/Form/FormElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     public function getName()
94 94
     {
95 95
         if (isset($this->parentNode)) {
96
-            return $this->parentNode->getName() . '[' . $this->name . ']';
96
+            return $this->parentNode->getName().'['.$this->name.']';
97 97
         }
98 98
 
99 99
         return $this->name;
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     public function getAttribute($name)
205 205
     {
206 206
         if (!isset($this->attributes[$name])) {
207
-            throw new RuntimeException('Invalid attribute: "' . $name . '"');
207
+            throw new RuntimeException('Invalid attribute: "'.$name.'"');
208 208
         }
209 209
 
210 210
         return $this->attributes[$name];
Please login to merge, or discard this patch.