Skip to content

Commit 3a4bc6e

Browse files
authored
Added 'providedBy' (#698)
* Added 'providedBy' * Bugfix * Applied changes from StyleCI
1 parent bdfbcc8 commit 3a4bc6e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Provider/AbstractProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author William Durand <william.durand1@gmail.com>
2121
*/
22-
abstract class AbstractProvider
22+
abstract class AbstractProvider implements Provider
2323
{
2424
/**
2525
* Returns the results for the 'localhost' special case.
@@ -29,6 +29,7 @@ abstract class AbstractProvider
2929
protected function getLocationForLocalhost(): Location
3030
{
3131
return Address::createFromArray([
32+
'providedBy' => $this->getName(),
3233
'locality' => 'localhost',
3334
'country' => 'localhost',
3435
]);

0 commit comments

Comments
 (0)