From 5dcd6b878fdf7f5b7e3b3aa520e952ee6f994b2b Mon Sep 17 00:00:00 2001 From: brunocfalcao Date: Wed, 21 Aug 2019 23:17:21 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Renderers/Twinkle.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Renderers/Twinkle.php b/src/Renderers/Twinkle.php index abac5f7..9544c16 100644 --- a/src/Renderers/Twinkle.php +++ b/src/Renderers/Twinkle.php @@ -109,12 +109,10 @@ protected function enrichData() * 1. Get route parameter value (our model route key value). * 2. Get route key name from the model. * 3. Query the DB to get the Model with that key name. - * */ - $modelValue = $routeParameters[$parameter]; - /** + /* * In case the parent controller in the flame already uses implicit * route binding, then the parameters that arrive to the twinkle will * already be model objects and not string values. Let's check that...