File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Console/ModelsCommand/Factories Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1057,15 +1057,15 @@ protected function getFactoryMethods($model)
1057
1057
}
1058
1058
1059
1059
$ traits = class_uses (get_class ($ model ), true );
1060
- if (! in_array ('Illuminate \\Database \\Eloquent \\Factories \\HasFactory ' , $ traits )) {
1060
+ if (!in_array ('Illuminate \\Database \\Eloquent \\Factories \\HasFactory ' , $ traits )) {
1061
1061
return ;
1062
1062
}
1063
1063
1064
1064
$ modelName = get_class ($ model );
1065
1065
$ factory = get_class ($ modelName ::factory ());
1066
1066
$ factory = '\\' . trim ($ factory , '\\' );
1067
1067
1068
- if (! class_exists ($ factory )) {
1068
+ if (!class_exists ($ factory )) {
1069
1069
return ;
1070
1070
}
1071
1071
Original file line number Diff line number Diff line change 4
4
5
5
namespace Barryvdh \LaravelIdeHelper \Tests \Console \ModelsCommand \Factories ;
6
6
7
- use Illuminate \Foundation \Application ;
8
7
use Barryvdh \LaravelIdeHelper \Console \ModelsCommand ;
9
8
use Barryvdh \LaravelIdeHelper \Tests \Console \ModelsCommand \AbstractModelsCommand ;
9
+ use Illuminate \Foundation \Application ;
10
10
11
11
class Test extends AbstractModelsCommand
12
12
{
13
13
public function test (): void
14
14
{
15
- if (! version_compare (Application::VERSION , '8.2 ' , '>= ' )) {
15
+ if (!version_compare (Application::VERSION , '8.2 ' , '>= ' )) {
16
16
$ this ->markTestSkipped (
17
17
'This test only works in Laravel >= 8.2 '
18
18
);
Original file line number Diff line number Diff line change @@ -225,10 +225,10 @@ public function testOutput()
225
225
/**
226
226
*
227
227
*
228
- * @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke()
229
228
* @param string $foo
230
229
* @param int $bar
231
230
* @return string
231
+ * @see \Barryvdh\LaravelIdeHelper\Tests\UrlGeneratorMacroClass::__invoke()
232
232
* @static
233
233
*/
234
234
DOC;
You can’t perform that action at this time.
0 commit comments