@@ -58,7 +58,7 @@ |
||
58 | 58 | public function isValid() |
59 | 59 | { |
60 | 60 | return parent::isValid() && |
61 | - ($this->call instanceof CallEntity && $this->call->isValid()) && |
|
61 | + ($this->call instanceof CallEntity && $this->call->isValid()) && |
|
62 | 62 | ($this->result instanceof ResultEntity && $this->result->isValid() || !$this->result) |
63 | 63 | ; |
64 | 64 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | { |
44 | 44 | if (!self::$registered) { |
45 | 45 | self::$registered = spl_autoload_register( |
46 | - function ($className) { |
|
46 | + function($className) { |
|
47 | 47 | if (strncmp(PEI_NAMESPACE, $className, strlen(PEI_NAMESPACE)) !== 0) { |
48 | 48 | return; |
49 | 49 | } |
@@ -219,7 +219,7 @@ |
||
219 | 219 | public function getImagesUuid() |
220 | 220 | { |
221 | 221 | return array_map( |
222 | - function ($imageName) { |
|
222 | + function($imageName) { |
|
223 | 223 | return substr($imageName, 0, strpos($imageName, '.')); |
224 | 224 | }, |
225 | 225 | $this->getImages() |
@@ -67,7 +67,7 @@ |
||
67 | 67 | public function isValid() |
68 | 68 | { |
69 | 69 | return parent::isValid() && |
70 | - (!$this->call || ($this->call instanceof CallEntity && $this->call->isValid())) && |
|
70 | + (!$this->call || ($this->call instanceof CallEntity && $this->call->isValid())) && |
|
71 | 71 | ( |
72 | 72 | !$this->result || ($this->result instanceof ResultEntity && $this->result->isValid()) |
73 | 73 | || is_array($this->result) |
@@ -99,7 +99,7 @@ |
||
99 | 99 | } |
100 | 100 | |
101 | 101 | /** |
102 | - * @return array |
|
102 | + * @return string[] |
|
103 | 103 | */ |
104 | 104 | public function getRequired() |
105 | 105 | { |