Passed
Push — dependabot/composer/doctrine/m... ( a1ff7e )
by
unknown
03:20
created
src/Domain/Model/AddressChangeId.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types = 1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\Domain\Model;
6 6
 
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 		return $this->identifier;
26 26
 	}
27 27
 
28
-	public function equals( string|AddressChangeId $id ): bool {
28
+	public function equals( string | AddressChangeId $id ): bool {
29 29
 		return is_string( $id ) ? $this->identifier === $id : $this->identifier === $id->identifier;
30 30
 	}
31 31
 
Please login to merge, or discard this patch.
src/DataAccess/Migrations/Version20241113164504.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare( strict_types=1 );
3
+declare(strict_types=1);
4 4
 
5 5
 namespace WMDE\Fundraising\AddressChangeContext\DataAccess\Migrations;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
 	public function down( Schema $schema ): void {
28 28
 		$addressChange = $schema->getTable( 'address_change' );
29
-		$addressChange->modifyColumn( 'current_identifier', [ 'notnull' => false ] );
30
-		$addressChange->modifyColumn( 'previous_identifier', [ 'notnull' => false ] );
29
+		$addressChange->modifyColumn( 'current_identifier', ['notnull' => false] );
30
+		$addressChange->modifyColumn( 'previous_identifier', ['notnull' => false] );
31 31
 	}
32 32
 }
Please login to merge, or discard this patch.