Skip to content

Commit 6baf89b

Browse files
committed
fixed whitespace problem
1 parent 4ccbf1a commit 6baf89b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ourlearn/LaravelStarter/Start.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function createModelsFromFile($fileName)
132132
$inputFile = file($fileName);
133133

134134
foreach( $inputFile as $line_num => $modelAndProperties ) {
135-
135+
$modelAndProperties = trim($modelAndProperties);
136136
if(!empty($modelAndProperties)) {
137137
if(preg_match("/^resource =/", $modelAndProperties)) {
138138
$this->isResource = trim(substr($modelAndProperties, strpos($modelAndProperties, "=")+1));

0 commit comments

Comments
 (0)