Completed
Pull Request — master (#42)
by Vladimir
02:39
created
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/Configuration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     /**
90 90
      * @TODO 1.0.0 Remove support for 'base' in next major release; it has been replaced by 'baseurl'
91 91
      *
92
-     * @return mixed|null
92
+     * @return string
93 93
      */
94 94
     public function getBaseUrl()
95 95
     {
Please login to merge, or discard this patch.
src/allejo/stakx/Exception/RecursiveConfigurationException.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 {
14 14
     private $import;
15 15
 
16
+    /**
17
+     * @param string $import
18
+     */
16 19
     public function __construct($import, $message = "", $code = 0, Exception $previous = null)
17 20
     {
18 21
         $this->import = $import;
Please login to merge, or discard this patch.