Skip to content

Commit f88ca73

Browse files
committed
added declare(strict_types=1);
1 parent 5989503 commit f88ca73

32 files changed

+64
-0
lines changed

src/Bridges/MailDI/MailExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Bridges\MailDI;
911

1012
use Nette;

src/Mail/FallbackMailer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

src/Mail/IMailer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012

src/Mail/Message.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

src/Mail/MimePart.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

src/Mail/SendmailMailer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

src/Mail/SmtpMailer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

src/Mail/exceptions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8+
declare(strict_types=1);
9+
810
namespace Nette\Mail;
911

1012
use Nette;

tests/Mail.DI/Mail.extension.phpt

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

7+
declare(strict_types=1);
8+
79
use Nette\DI;
810
use Nette\Bridges\MailDI\MailExtension;
911
use Tester\Assert;

tests/Mail.DI/include.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

46
class FooExtension extends Nette\DI\CompilerExtension
57
{}

0 commit comments

Comments
 (0)