Completed
Push — master ( d5bf41...27f6c9 )
by Eric
02:31
created
src/Errors.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      * Sets the settings to check
77 77
      * 
78 78
      * @param array $settings            
79
-     * @return \mithra62\Errors
79
+     * @return Errors
80 80
      */
81 81
     public function setSettings(array $settings)
82 82
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * Clears out any errors that were added
99 99
      * 
100
-     * @return \mithra62\Errors
100
+     * @return Errors
101 101
      */
102 102
     public function clearErrors()
103 103
     {
@@ -108,8 +108,8 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * Sets the Validation object
110 110
      * 
111
-     * @param \mithra62\Validate $val            
112
-     * @return \mithra62\Errors
111
+     * @param Validate $val            
112
+     * @return Errors
113 113
      */
114 114
     public function setValidation(\JaegerApp\Validate $val)
115 115
     {
@@ -144,8 +144,8 @@  discard block
 block discarded – undo
144 144
      * Verifies the license key is valid
145 145
      * 
146 146
      * @param unknown $license_key            
147
-     * @param \mithra62\License $license            
148
-     * @return \mithra62\Errors
147
+     * @param License $license            
148
+     * @return Errors
149 149
      */
150 150
     public function licenseCheck($license_key, \JaegerApp\License $license)
151 151
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
         if ($license_key == '') {
153 153
             $this->setError('license_number', 'missing_license_number');
154 154
         } else {
155
-            if (! $license->validLicense($license_key)) {
155
+            if (!$license->validLicense($license_key)) {
156 156
                 $this->setError('license_number', 'invalid_license_number');
157 157
             }
158 158
         }
Please login to merge, or discard this patch.