@@ -78,10 +78,10 @@ |
||
| 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; |
@@ -89,7 +89,7 @@ |
||
| 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 | { |
@@ -13,6 +13,9 @@ |
||
| 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; |