@@ -80,8 +80,8 @@ |
||
| 80 | 80 | protected $error_message; |
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | - * @var array |
|
| 84 | - */ |
|
| 83 | + * @var array |
|
| 84 | + */ |
|
| 85 | 85 | protected $parameters = []; |
| 86 | 86 | |
| 87 | 87 | /** |
@@ -49,11 +49,11 @@ |
||
| 49 | 49 | |
| 50 | 50 | if ( $data !== false ) { |
| 51 | 51 | |
| 52 | - return Yaml::parse($data); |
|
| 52 | + return Yaml::parse($data); |
|
| 53 | 53 | |
| 54 | - } else { |
|
| 55 | - throw new ConfigurationException("Configuration file $file not readable"); |
|
| 56 | - } |
|
| 54 | + } else { |
|
| 55 | + throw new ConfigurationException("Configuration file $file not readable"); |
|
| 56 | + } |
|
| 57 | 57 | |
| 58 | 58 | } else { |
| 59 | 59 | throw new ConfigurationException("Configuration file $file not found"); |
@@ -24,13 +24,13 @@ |
||
| 24 | 24 | protected $description = 'Hackable PHP REST framework'; |
| 25 | 25 | protected $version = '4.0-dev'; |
| 26 | 26 | protected $ascii = "\r\n ___ _ __ __ \r\n". |
| 27 | - " / _ \(_)__ ___ ___ _/ /_____/ / ___ ____\r\n". |
|
| 28 | - " / // / (_-</ _ \/ _ `/ __/ __/ _ \/ -_) __/\r\n". |
|
| 29 | - "/____/_/___/ .__/\_,_/\__/\__/_//_/\__/_/ \r\n". |
|
| 30 | - " /_/ \r\n"; |
|
| 27 | + " / _ \(_)__ ___ ___ _/ /_____/ / ___ ____\r\n". |
|
| 28 | + " / // / (_-</ _ \/ _ `/ __/ __/ _ \/ -_) __/\r\n". |
|
| 29 | + "/____/_/___/ .__/\_,_/\__/\__/_//_/\__/_/ \r\n". |
|
| 30 | + " /_/ \r\n"; |
|
| 31 | 31 | protected $template = "\n\n{ascii}\r\n". |
| 32 | - "---------------------------------------------\r\n". |
|
| 33 | - "{name} (ver {version})\r\n{description}\r\n"; |
|
| 32 | + "---------------------------------------------\r\n". |
|
| 33 | + "{name} (ver {version})\r\n{description}\r\n"; |
|
| 34 | 34 | protected $prefix = 'dispatcher-'; |
| 35 | 35 | |
| 36 | 36 | } |