Skip to content

Commit

Permalink
Fix static analysis issues with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramsey committed Jan 9, 2020
1 parent 71cb9a3 commit 2b156cc
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 69 deletions.
2 changes: 1 addition & 1 deletion src/Generator/DefaultTimeGenerator.php
Expand Up @@ -126,6 +126,6 @@ private function getValidNode($node): string
throw new InvalidArgumentException('Invalid node value');
}

return strtolower(sprintf('%012s', $node));
return strtolower(sprintf('%012s', (string) $node));
}
}

0 comments on commit 2b156cc

Please sign in to comment.