Skip to content

Commit

Permalink
Merge pull request #5 from brunocfalcao/analysis-8wYlgN
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
brunocfalcao authored Aug 21, 2019
2 parents 16a1eb5 + 5dcd6b8 commit a2c4075
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Renderers/Twinkle.php
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit a2c4075

Please sign in to comment.