@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php return array ( |
| 2 | - 'name' => 'bavix/config', |
|
| 3 | - 'description' => '%php.description%', |
|
| 4 | - 'license' => 'MIT', |
|
| 5 | - 'authors' => |
|
| 6 | - array ( |
|
| 2 | + 'name' => 'bavix/config', |
|
| 3 | + 'description' => '%php.description%', |
|
| 4 | + 'license' => 'MIT', |
|
| 5 | + 'authors' => |
|
| 6 | + array ( |
|
| 7 | 7 | 0 => |
| 8 | 8 | array ( |
| 9 | - 'name' => 'REZ1DENT3', |
|
| 10 | - 'email' => '[email protected]', |
|
| 9 | + 'name' => 'REZ1DENT3', |
|
| 10 | + 'email' => '[email protected]', |
|
| 11 | + ), |
|
| 11 | 12 | ), |
| 12 | - ), |
|
| 13 | 13 | ); |
| 14 | 14 | \ No newline at end of file |
@@ -1,11 +1,11 @@ |
||
| 1 | -<?php return array ( |
|
| 1 | +<?php return array( |
|
| 2 | 2 | 'name' => 'bavix/config', |
| 3 | 3 | 'description' => '%php.description%', |
| 4 | 4 | 'license' => 'MIT', |
| 5 | 5 | 'authors' => |
| 6 | - array ( |
|
| 6 | + array( |
|
| 7 | 7 | 0 => |
| 8 | - array ( |
|
| 8 | + array( |
|
| 9 | 9 | 'name' => 'REZ1DENT3', |
| 10 | 10 | 'email' => '[email protected]', |
| 11 | 11 | ), |
@@ -53,8 +53,7 @@ discard block |
||
| 53 | 53 | try |
| 54 | 54 | { |
| 55 | 55 | $this->parameters = $this->loader('_bavix')->asSlice(); |
| 56 | - } |
|
| 57 | - catch (NotFound\Path $path) |
|
| 56 | + } catch (NotFound\Path $path) |
|
| 58 | 57 | { |
| 59 | 58 | // file `_bavix` not found |
| 60 | 59 | } |
@@ -100,8 +99,7 @@ discard block |
||
| 100 | 99 | $this->loaders[$name] = FileLoader::load($path); |
| 101 | 100 | |
| 102 | 101 | return $this->loaders[$name]; |
| 103 | - } |
|
| 104 | - catch (NotFound\Path $argumentException) |
|
| 102 | + } catch (NotFound\Path $argumentException) |
|
| 105 | 103 | { |
| 106 | 104 | continue; |
| 107 | 105 | } |
@@ -145,8 +143,7 @@ discard block |
||
| 145 | 143 | try |
| 146 | 144 | { |
| 147 | 145 | return $this->loader($name)->save($data); |
| 148 | - } |
|
| 149 | - catch (NotFound\Path $exception) |
|
| 146 | + } catch (NotFound\Path $exception) |
|
| 150 | 147 | { |
| 151 | 148 | File::touch($this->buildPath($name, $this->extensions[0])); |
| 152 | 149 | |