Completed
Pull Request — master (#48)
by Vladimir
02:36
created
src/allejo/stakx/Document/ContentItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
             $this->bodyContentEvaluated = true;
186 186
         }
187 187
 
188
-        return (string)$this->bodyContent;
188
+        return (string) $this->bodyContent;
189 189
     }
190 190
 
191 191
     /**
Please login to merge, or discard this patch.
src/allejo/stakx/Utilities/ArrayUtilities.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,10 +78,10 @@
 block discarded – undo
78 78
      */
79 79
     public static function associative_array_split($key, array &$array, $considerOffset = true)
80 80
     {
81
-        $offset = array_search($key, array_keys($array)) + (int)$considerOffset;
81
+        $offset = array_search($key, array_keys($array)) + (int) $considerOffset;
82 82
         $result = array();
83 83
 
84
-        $result[0] = array_slice($array, 0 , $offset, true);
84
+        $result[0] = array_slice($array, 0, $offset, true);
85 85
         $result[1] = array_slice($array, $offset, null, true);
86 86
 
87 87
         return $result;
Please login to merge, or discard this patch.
src/allejo/stakx/Command/BuildableCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
      * @param InputInterface $input
90 90
      * @param string         $param
91 91
      */
92
-    private function setServiceParameter(InputInterface &$input, $param)
92
+    private function setServiceParameter(InputInterface & $input, $param)
93 93
     {
94 94
         Service::setParameter($param, $input->getOption($param));
95 95
     }
Please login to merge, or discard this patch.
src/allejo/stakx/Document/ReadableDocument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function __construct($filePath)
19 19
     {
20 20
         $this->fs = new Filesystem();
21
-        $p = $this->filePath = $this->fs->absolutePath((string)$filePath);
21
+        $p = $this->filePath = $this->fs->absolutePath((string) $filePath);
22 22
 
23 23
         if (!$this->fs->exists($p))
24 24
         {
Please login to merge, or discard this patch.