Skip to content

Commit 5f7fa84

Browse files
committed
Manually merge PR 16 from @vicgonvt
1 parent 5acf52b commit 5f7fa84

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/fakes/UpdaterFake.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
22

3-
namespace distinctm\LaravelDataSync\Tests\fakes;
3+
namespace distinctm\LaravelDataSync\Tests\Fakes;
44

55
use distinctm\LaravelDataSync\Updater;
6+
use Illuminate\Support\Str;
67

78
class UpdaterFake extends Updater
89
{
910
protected function getModel(string $name)
1011
{
11-
return '\\distinctm\\LaravelDataSync\\Tests\\'.studly_case(
12-
pathinfo($name, PATHINFO_FILENAME)
13-
);
12+
return '\\distinctm\\LaravelDataSync\\Tests\\'.Str::studly(
13+
pathinfo($name, PATHINFO_FILENAME)
14+
);
1415
}
15-
}
16+
}

0 commit comments

Comments
 (0)