Completed
Pull Request — master (#3)
by Timothy
08:44 queued 14s
created
src/Gwa/Exception/gwCoreException.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Gwa/Exception/gwValidationException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,6 +76,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.