Skip to content

Commit

Permalink
Remove string type hints unsupported by php 5.3.
Browse files Browse the repository at this point in the history
Follow-up to #1
  • Loading branch information
glensc committed May 6, 2020
1 parent a2c4c6b commit f3785fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VersionStrategy/JsonManifestVersionStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class JsonManifestVersionStrategy implements VersionStrategyInterface
/**
* @param string $manifestPath Absolute path to the manifest file
*/
public function __construct(string $manifestPath)
public function __construct($manifestPath)
{
$this->manifestPath = $manifestPath;
}
Expand All @@ -50,7 +50,7 @@ public function applyVersion($path)
return $this->getManifestPath($path) ?: $path;
}

private function getManifestPath(string $path): ?string
private function getManifestPath($path)
{
if (null === $this->manifestData) {
if (!is_file($this->manifestPath)) {
Expand Down

0 comments on commit f3785fd

Please sign in to comment.