@@ -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 | { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
45 | - * @return mixed |
|
45 | + * @return string |
|
46 | 46 | */ |
47 | 47 | public function getName() |
48 | 48 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @return mixed |
|
53 | + * @return string |
|
54 | 54 | */ |
55 | 55 | public function getArgs() |
56 | 56 | { |
@@ -76,6 +76,9 @@ discard block |
||
76 | 76 | return $command; |
77 | 77 | } |
78 | 78 | |
79 | + /** |
|
80 | + * @param string $command |
|
81 | + */ |
|
79 | 82 | protected function getArgsFromText($command, $text) |
80 | 83 | { |
81 | 84 | $length = strlen(static::PREFIX . $command); |