Skip to content

Commit e2a8780

Browse files
jakub-klapkapatrickbrouwers
authored andcommitted
[FIX] Missing state() function on Factory (#198)
* Add temporary function stub to prevent fatal * Fix CI
1 parent 9b32992 commit e2a8780

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Testing/Factory.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,14 @@ public function offsetUnset($offset)
237237
{
238238
unset($this->definitions[$offset]);
239239
}
240+
241+
/**
242+
* Temporary fix to prevent Fatal on Laravel 5.3.17
243+
*
244+
* @return $this
245+
*/
246+
public function state()
247+
{
248+
return $this;
249+
}
240250
}

0 commit comments

Comments
 (0)