Skip to content

Commit ece5dca

Browse files
committed
add missing strict-type declarations
1 parent d53e17b commit ece5dca

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-0
lines changed

src/Exceptions/NestedModelException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Michalsn\CodeIgniterNestedModel\Exceptions;
46

57
use RuntimeException;

src/Many.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Michalsn\CodeIgniterNestedModel;
46

57
readonly class Many

src/Through.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Michalsn\CodeIgniterNestedModel;
46

57
use CodeIgniter\Model;

tests/_support/Entities/Address.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Comment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Company.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Country.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Course.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Post.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Profile.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/Student.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

tests/_support/Entities/User.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Tests\Support\Entities;
46

57
use CodeIgniter\Entity\Entity;

0 commit comments

Comments
 (0)