@@ -157,7 +157,7 @@ |
||
157 | 157 | /** |
158 | 158 | * @param string $key |
159 | 159 | * |
160 | - * @return mixed |
|
160 | + * @return gwCoreExceptionInfo|null |
|
161 | 161 | */ |
162 | 162 | public function __get($key) |
163 | 163 | { |
@@ -138,7 +138,7 @@ |
||
138 | 138 | */ |
139 | 139 | public function __toString() |
140 | 140 | { |
141 | - return __CLASS__ . " [$this->code]: $this->message | ".$this->info->fetch(); |
|
141 | + return __CLASS__." [$this->code]: $this->message | ".$this->info->fetch(); |
|
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
@@ -76,6 +76,6 @@ |
||
76 | 76 | */ |
77 | 77 | public function hasErrors() |
78 | 78 | { |
79 | - return count($this->errors) > 0; |
|
79 | + return count($this->errors)>0; |
|
80 | 80 | } |
81 | 81 | } |