We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ccbf1a commit 6baf89bCopy full SHA for 6baf89b
src/Ourlearn/LaravelStarter/Start.php
@@ -132,7 +132,7 @@ public function createModelsFromFile($fileName)
132
$inputFile = file($fileName);
133
134
foreach( $inputFile as $line_num => $modelAndProperties ) {
135
-
+ $modelAndProperties = trim($modelAndProperties);
136
if(!empty($modelAndProperties)) {
137
if(preg_match("/^resource =/", $modelAndProperties)) {
138
$this->isResource = trim(substr($modelAndProperties, strpos($modelAndProperties, "=")+1));
0 commit comments