Skip to content

Commit aba2b02

Browse files
committed
Added strict type declaration
1 parent 51210ac commit aba2b02

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

src/Sections.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer;
1214

1315
final class Sections

src/Template.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer;
1214

1315
use InvalidArgumentException;

test/DataTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer\Test;
1214

1315
use stdClass;

test/RenderContextTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer\Test;
1214

1315
use PHPUnit\Framework\TestCase;

test/RendererTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer\Test;
1214

1315
use PHPUnit\Framework\TestCase;

test/SectionsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer\Test;
1214

1315
use PHPUnit\Framework\TestCase;

test/TemplateTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* @license https://bitframephp.com/about/license MIT License
99
*/
1010

11+
declare(strict_types=1);
12+
1113
namespace BitFrame\Renderer\Test;
1214

1315
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)