@@ -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 | } |
@@ -75,7 +75,7 @@ |
||
75 | 75 | public function isValid() |
76 | 76 | { |
77 | 77 | return parent::isValid() && |
78 | - (!$this->call || ($this->call instanceof CallEntity && $this->call->isValid())) && |
|
78 | + (!$this->call || ($this->call instanceof CallEntity && $this->call->isValid())) && |
|
79 | 79 | (!$this->result || ($this->result instanceof ResultEntity && $this->result->isValid()) || is_array($this->result)) |
80 | 80 | ; |
81 | 81 | } |
@@ -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() |