Skip to content

Commit

Permalink
Drop the Interface suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Nov 28, 2023
1 parent 081240c commit da42b38
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace MichalSpacekCz\Training\Resolver;

interface ApplicationSourceResolverInterface
interface ApplicationSourceResolver
{

public function isTrainingApplicationOwner(string $note): bool;
Expand Down
2 changes: 1 addition & 1 deletion site/app/Training/Resolver/Vrana.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use Nette\Utils\Strings;

class Vrana implements ApplicationSourceResolverInterface
class Vrana implements ApplicationSourceResolver
{

public function isTrainingApplicationOwner(string $note): bool
Expand Down
2 changes: 1 addition & 1 deletion site/app/UpcKeys/Technicolor.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
use PDOException;
use Tracy\Debugger;

class Technicolor implements RouterInterface
class Technicolor implements UpcWiFiRouter
{

private const PREFIXES = ['SAAP', 'SAPP', 'SBAP'];
Expand Down
2 changes: 1 addition & 1 deletion site/app/UpcKeys/Ubee.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

use Nette\Database\Explorer;

class Ubee implements RouterInterface
class Ubee implements UpcWiFiRouter
{

private const OUI_UBEE = '647c34';
Expand Down
4 changes: 2 additions & 2 deletions site/app/UpcKeys/UpcKeys.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class UpcKeys

private const SSID_PLACEHOLDER = 'UPC1234567';

/** @var array<class-string<RouterInterface>, RouterInterface> */
/** @var array<class-string<UpcWiFiRouter>, UpcWiFiRouter> */
private array $routers = [];

/** @var list<string>|null */
Expand All @@ -24,7 +24,7 @@ class UpcKeys


/**
* @param non-empty-list<RouterInterface> $routers
* @param non-empty-list<UpcWiFiRouter> $routers
*/
public function __construct(array $routers)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace MichalSpacekCz\UpcKeys;

interface RouterInterface
interface UpcWiFiRouter
{

/**
Expand Down

0 comments on commit da42b38

Please sign in to comment.