@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | use BotRiconferme\Bot; |
4 | 4 | use BotRiconferme\CLI; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 | |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * @param string|null $title If available |
11 | 11 | */ |
12 | - public function __construct( string $title = null ) { |
|
12 | + public function __construct ( string $title = null ) { |
|
13 | 13 | if ( $title ) { |
14 | 14 | parent::__construct( "The specified page is protected: $title" ); |
15 | 15 | } else { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 | |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | * @param string $title |
11 | 11 | * @param int|string $section Number or title |
12 | 12 | */ |
13 | - public function __construct( string $title = '[unavailable]', $section = '[unavailable]' ) { |
|
13 | + public function __construct ( string $title = '[unavailable]', $section = '[unavailable]' ) { |
|
14 | 14 | parent::__construct( "The section $section in the page $title doesn't exist." ); |
15 | 15 | } |
16 | 16 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare( strict_types=1 ); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | namespace BotRiconferme\Exception; |
4 | 4 | |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | /** |
10 | 10 | * @param string|null $title If available |
11 | 11 | */ |
12 | - public function __construct( string $title = null ) { |
|
12 | + public function __construct ( string $title = null ) { |
|
13 | 13 | if ( $title ) { |
14 | 14 | parent::__construct( "The specified page doesn't exist: $title" ); |
15 | 15 | } else { |