Completed
Push — master ( ee875b...07ff5e )
by Colin
01:17
created
src/Support/Model.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      *
129 129
      * @param  string  $key
130 130
      * @param  mixed  $value
131
-     * @return mixed
131
+     * @return Model
132 132
      */
133 133
     public function setAttribute($key, $value)
134 134
     {
@@ -158,11 +158,17 @@  discard block
 block discarded – undo
158 158
         return $this;
159 159
     }
160 160
 
161
+    /**
162
+     * @param string $key
163
+     */
161 164
     public function attributeExists($key)
162 165
     {
163 166
         return array_key_exists($key, $this->attributes);
164 167
     }
165 168
 
169
+    /**
170
+     * @param string $key
171
+     */
166 172
     public function unsetAttribute($key)
167 173
     {
168 174
         $this->setAttribute($key, '');
Please login to merge, or discard this patch.