Skip to content

Commit

Permalink
Add ambiguous interface
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrimaud committed May 29, 2019
1 parent a5520e2 commit 390239e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
10 changes: 10 additions & 0 deletions src/AmbiguousInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace Ratp;

interface AmbiguousInterface
{
public function getAmbiguityMessage();

public function setAmbiguityMessage($ambiguityMessage);
}
4 changes: 2 additions & 2 deletions src/WrDirections.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Ratp;

class WrDirections
class WrDirections implements AmbiguousInterface
{

/**
* @var string $ambiguityMessage
*/
Expand Down
3 changes: 2 additions & 1 deletion src/WrItineraries.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

namespace Ratp;

class WrItineraries
class WrItineraries implements AmbiguousInterface
{
/**
* @var string $ambiguityMessage
Expand Down
3 changes: 2 additions & 1 deletion src/WrMission.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

namespace Ratp;

class WrMission
class WrMission implements AmbiguousInterface
{
/**
* @var string $ambiguityMessage
Expand Down
3 changes: 2 additions & 1 deletion src/WrMissions.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

namespace Ratp;

use Mission;

class WrMissions
class WrMissions implements AmbiguousInterface
{
/**
* @var string $ambiguityMessage
Expand Down
4 changes: 2 additions & 2 deletions src/WrStations.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Ratp;

class WrStations
class WrStations implements AmbiguousInterface
{

/**
* @var string $ambiguityMessage
*/
Expand Down

0 comments on commit 390239e

Please sign in to comment.