From 338b54b3e77928c872d9180855cb1d2ddb072b21 Mon Sep 17 00:00:00 2001 From: Jakub Klapka Date: Wed, 14 Dec 2016 13:28:42 +0100 Subject: [PATCH 1/2] Add temporary function stub to prevent fatal --- src/Testing/Factory.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Testing/Factory.php b/src/Testing/Factory.php index 9e0c8bae..9695c115 100644 --- a/src/Testing/Factory.php +++ b/src/Testing/Factory.php @@ -237,4 +237,13 @@ public function offsetUnset($offset) { unset($this->definitions[$offset]); } + + /** + * Temporary fix to prevent Fatal on Laravel 5.3.17 + * + * @return $this + */ + public function state() { + return $this; + } } From c924e9f9ec4e1c761fd44d46706611068798625b Mon Sep 17 00:00:00 2001 From: Jakub Klapka Date: Wed, 14 Dec 2016 14:18:28 +0100 Subject: [PATCH 2/2] Fix CI --- src/Testing/Factory.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/Testing/Factory.php b/src/Testing/Factory.php index 9695c115..c8fc4573 100644 --- a/src/Testing/Factory.php +++ b/src/Testing/Factory.php @@ -238,12 +238,13 @@ public function offsetUnset($offset) unset($this->definitions[$offset]); } - /** - * Temporary fix to prevent Fatal on Laravel 5.3.17 - * - * @return $this - */ - public function state() { - return $this; + /** + * Temporary fix to prevent Fatal on Laravel 5.3.17 + * + * @return $this + */ + public function state() + { + return $this; } }