mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
add typehints and return types
This commit is contained in:
committed by
Ben Ramsey
parent
3a42c259a7
commit
5459113b81
@@ -46,7 +46,7 @@ class FallbackNodeProvider implements NodeProviderInterface
|
||||
* @return string|null System node ID as a hexadecimal string
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getNode()
|
||||
public function getNode(): ?string
|
||||
{
|
||||
foreach ($this->nodeProviders as $provider) {
|
||||
if ($node = $provider->getNode()) {
|
||||
|
||||
Reference in New Issue
Block a user