Skip to content

Commit cc90316

Browse files
committed
dang ol' spaces and tabs
1 parent f86a36a commit cc90316

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ActiveRecord.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ public function addCondition(string $field, string $operator, $value, string $de
717717
}
718718
$name = strtolower($name);
719719

720-
// skip adding the `table.` prefix if it's already there or a function is being supplied.
721-
$skip_table_prefix = (strpos($field, '.') !== false || strpos($field, '(') !== false);
720+
// skip adding the `table.` prefix if it's already there or a function is being supplied.
721+
$skip_table_prefix = (strpos($field, '.') !== false || strpos($field, '(') !== false);
722722
$expressions = new Expressions([
723723
'source' => ('where' === $name && $skip_table_prefix === false ? $this->table . '.' : '') . $field,
724724
'operator' => $operator,

src/commands/RecordCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public function __construct(array $config)
2121
$this->argument('<table_name>', 'The name of the table to read from and create the active record');
2222
$this->argument('[class_name]', 'The name of the active record class to create');
2323
$this->usage(<<<TEXT
24-
<bold> make:record users</end> ## Creates a file named UserRecord.php based on the users table<eol/>
25-
<bold> make:record users Author</end> ## Creates a file named AuthorRecord.php based on the users table<eol/>
24+
<bold> make:record users</end> ## Creates a file named UserRecord.php based on the users table<eol/>
25+
<bold> make:record users Author</end> ## Creates a file named AuthorRecord.php based on the users table<eol/>
2626
TEXT);
2727
}
2828

0 commit comments

Comments
 (0)