Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit c04a143

Browse files
committed
One space between closing argument paren and typehint operator
1 parent e53270c commit c04a143

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Metadata/MetadataMapFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private function createMetadataViaFactoryClass(
144144
* @param array $metadata
145145
* @return AbstractMetadata
146146
*/
147-
private function createMetadataViaFactoryMethod(string $metadataClass, array $metadata): AbstractMetadata
147+
private function createMetadataViaFactoryMethod(string $metadataClass, array $metadata) : AbstractMetadata
148148
{
149149
$normalizedClass = $this->stripNamespaceFromClass($metadataClass);
150150
$method = sprintf('create%s', $normalizedClass);

src/ResourceGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function addStrategy(string $metadataType, $strategy) : void
9595
/**
9696
* Returns the registered strategies.
9797
*/
98-
public function getStrategies(): array
98+
public function getStrategies() : array
9999
{
100100
return $this->strategies;
101101
}

test/TestAsset/TestMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class TestMetadata extends AbstractMetadata
1414
{
15-
public function getClass(): string
15+
public function getClass() : string
1616
{
1717
return stdClass::class;
1818
}

0 commit comments

Comments
 (0)