Skip to content

Commit 4b8ad6b

Browse files
committed
add strict types declarations #17
1 parent 8efb5f9 commit 4b8ad6b

File tree

7 files changed

+14
-0
lines changed

7 files changed

+14
-0
lines changed

src/SapRfc.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 phpsap\saprfc;
46

57
use phpsap\classes\AbstractFunction;

src/Traits/ApiTrait.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 phpsap\saprfc\Traits;
46

57
use phpsap\classes\Api\Element;

src/Traits/ConfigTrait.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 phpsap\saprfc\Traits;
46

57
use phpsap\interfaces\Config\IConfigCommon;

src/Traits/ParamTrait.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 phpsap\saprfc\Traits;
46

57
use phpsap\exceptions\FunctionCallException;

tests/OutputTableTest.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\phpsap\saprfc;
46

57
use phpsap\classes\Api\RemoteApi;

tests/SapRfcIntegrationTest.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\phpsap\saprfc;
46

57
use phpsap\IntegrationTests\AbstractSapRfcTestCase;

tests/Traits/TestCaseTrait.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\phpsap\saprfc\Traits;
46

57
use phpsap\saprfc\SapRfc;

0 commit comments

Comments
 (0)