@@ -8,8 +8,8 @@ |
||
8 | 8 | define('ROOT_DIR', realpath(__DIR__)); |
9 | 9 | |
10 | 10 | $paths = [ |
11 | - ROOT_DIR . '/vendor/autoload.php', |
|
12 | - ROOT_DIR . '/../../autoload.php' |
|
11 | + ROOT_DIR.'/vendor/autoload.php', |
|
12 | + ROOT_DIR.'/../../autoload.php' |
|
13 | 13 | ]; |
14 | 14 | |
15 | 15 | foreach ($paths as $path) { |
@@ -193,7 +193,7 @@ |
||
193 | 193 | * @param bool $isCommand Boolean flag which indicates that passed entity should |
194 | 194 | * be treated as a command |
195 | 195 | * |
196 | - * @return bool |
|
196 | + * @return boolean|null |
|
197 | 197 | */ |
198 | 198 | protected function triggerEvent(AbstractEntity $entity, AbstractEntity $parent = null, $isCommand = false) |
199 | 199 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | protected function loadConfigFile($configFile) |
100 | 100 | { |
101 | 101 | if (!is_file($configFile) || !is_readable($configFile)) { |
102 | - Output::log(new Fatal('File "' . $configFile . '" does not exists or not readable!')); |
|
102 | + Output::log(new Fatal('File "'.$configFile.'" does not exists or not readable!')); |
|
103 | 103 | } |
104 | 104 | |
105 | 105 | $config = require_once($configFile); |
@@ -230,6 +230,6 @@ discard block |
||
230 | 230 | return null; |
231 | 231 | } |
232 | 232 | |
233 | - return $this->file_url . $this->token . '/'; |
|
233 | + return $this->file_url.$this->token.'/'; |
|
234 | 234 | } |
235 | 235 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | |
7 | 7 | class MessageEntityArray extends AbstractEntity |
8 | 8 | { |
9 | - const ENTITY_TYPE = 'MessageEntityArray'; |
|
9 | + const ENTITY_TYPE = 'MessageEntityArray'; |
|
10 | 10 | |
11 | 11 | protected $entities; |
12 | 12 |