@@ -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 @@ |
||
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 @@ 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 { |
@@ -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\Task; |
4 | 4 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /** |
16 | 16 | * @inheritDoc |
17 | 17 | */ |
18 | - public function runInternal() : int { |
|
18 | + public function runInternal () : int { |
|
19 | 19 | $orderedList = [ |
20 | 20 | 'close-pages', |
21 | 21 | 'archive-pages', |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | /** |
35 | 35 | * @inheritDoc |
36 | 36 | */ |
37 | - protected function getSubtasksMap(): array { |
|
37 | + protected function getSubtasksMap (): array { |
|
38 | 38 | return [ |
39 | 39 | 'archive-pages' => ArchivePages::class, |
40 | 40 | 'close-pages' => ClosePages::class, |
@@ -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 | } |