Skip to content

Commit 3fde4f4

Browse files
committed
added declare(strict_types=1);
1 parent 90dc744 commit 3fde4f4

File tree

110 files changed

+220
-0
lines changed

Some content is hidden

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

110 files changed

+220
-0
lines changed

examples/basic-example.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms basic example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/bootstrap2-rendering.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms & Bootstap v2 rendering example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/bootstrap3-rendering.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms & Bootstap v3 rendering example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/bootstrap4-rendering.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms & Bootstap v4 rendering example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/containers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms containers example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/custom-control.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms custom control example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/custom-rendering.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms custom rendering example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/custom-validator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms custom validator example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/html5.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms and HTML5.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

examples/live-validation.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* Nette Forms live validation example.
55
*/
66

7+
declare(strict_types=1);
8+
79

810
if (@!include __DIR__ . '/../vendor/autoload.php') {
911
die('Install packages using `composer install`');

0 commit comments

Comments
 (0)