Rename Interfaces to Contracts to better match Laravel conventions

This commit is contained in:
Nabeel Shahzad
2019-07-15 15:44:31 -04:00
parent 31f16d693b
commit a720f12e0b
223 changed files with 241 additions and 241 deletions

View File

@@ -15,7 +15,7 @@ class ImporterTest extends TestCase
public function setUp(): void
{
parent::setUp();
$this->importBaseClass = new \App\Interfaces\ImportExport();
$this->importBaseClass = new \App\Contracts\ImportExport();
$this->importSvc = app(\App\Services\ImportService::class);
$this->fareSvc = app(\App\Services\FareService::class);

View File

@@ -139,7 +139,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
$this->transformData($value);
}
if (is_subclass_of($value, App\Interfaces\Unit::class)) {
if (is_subclass_of($value, App\Contracts\Unit::class)) {
$data[$key] = $value->__toString();
}