Skip to content

Commit 7b1d961

Browse files
committed
:octocat: declare strict types
1 parent f32696c commit 7b1d961

File tree

137 files changed

+144
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+144
-2
lines changed

examples/authenticator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @copyright 2023 smiley
88
* @license MIT
99
*/
10+
declare(strict_types=1);
1011

1112
use chillerlan\Authenticator\{Authenticator, AuthenticatorOptionsTrait};
1213
use chillerlan\Authenticator\Authenticators\AuthenticatorInterface;

examples/custom_output.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @noinspection PhpIllegalPsrClassPathInspection
1111
*/
12+
declare(strict_types=1);
1213

1314
use chillerlan\QRCode\{QRCode, QROptions};
1415
use chillerlan\QRCode\Output\QROutputAbstract;

examples/eps.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @copyright 2022 Smiley
88
* @license MIT
99
*/
10+
declare(strict_types=1);
1011

1112
use chillerlan\QRCode\{QRCode, QROptions};
1213
use chillerlan\QRCode\Data\QRMatrix;

examples/fpdf.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* @author Maximilian Kresse
77
* @license MIT
88
*/
9+
declare(strict_types=1);
910

1011
use chillerlan\QRCode\{QRCode, QROptions};
1112
use chillerlan\QRCode\Data\QRMatrix;

examples/html.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @copyright 2017 Smiley
88
* @license MIT
99
*/
10+
declare(strict_types=1);
1011

1112
use chillerlan\QRCode\{QRCode, QROptions};
1213
use chillerlan\QRCode\Data\QRMatrix;

examples/image.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @copyright 2017 Smiley
88
* @license MIT
99
*/
10+
declare(strict_types=1);
1011

1112
use chillerlan\QRCode\{QRCode, QROptions};
1213
use chillerlan\QRCode\Data\QRMatrix;

examples/imageWithLogo.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
*
1010
* @noinspection PhpComposerExtensionStubsInspection, PhpIllegalPsrClassPathInspection
1111
*/
12+
declare(strict_types=1);
1213

1314
use chillerlan\QRCode\{QRCode, QROptions};
1415
use chillerlan\QRCode\Common\EccLevel;

examples/imageWithRoundedShapes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
*
1313
* @noinspection PhpComposerExtensionStubsInspection
1414
*/
15+
declare(strict_types=1);
1516

1617
use chillerlan\QRCode\{QRCode, QROptions};
1718
use chillerlan\QRCode\Common\EccLevel;

examples/imageWithText.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*
1212
* @noinspection PhpIllegalPsrClassPathInspection, PhpComposerExtensionStubsInspection
1313
*/
14+
declare(strict_types=1);
1415

1516
use chillerlan\QRCode\{QRCode, QROptions};
1617
use chillerlan\QRCode\Output\QRGdImagePNG;

examples/imagick.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @copyright 2017 Smiley
88
* @license MIT
99
*/
10+
declare(strict_types=1);
1011

1112
use chillerlan\QRCode\{QRCode, QROptions};
1213
use chillerlan\QRCode\Data\QRMatrix;

0 commit comments

Comments
 (0)