From 76f09aaa65121b800c04394bd32dca78c3810b5c Mon Sep 17 00:00:00 2001 From: "Barry vd. Heuvel" Date: Mon, 19 Oct 2015 09:32:38 +0200 Subject: [PATCH] Remove magic where --- src/Console/ModelsCommand.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 00472ca..e32103c 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -290,11 +290,6 @@ class ModelsCommand extends Command $comment = $column->getComment(); $this->setProperty($name, $type, true, true, $comment); - $this->setMethod( - Str::camel("where_" . $name), - '\Illuminate\Database\Query\Builder|\\' . get_class($model), - array('$value') - ); } } }