Skip to content

Commit

Permalink
Fix tests failing on Travis-CI
Browse files Browse the repository at this point in the history
(There was a case sensivity problem.)
  • Loading branch information
PoLaKoSz committed Dec 9, 2020
1 parent 1de91a0 commit 26d65fd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Via Composer
use PoLaKoSz\Mafab\Mafab;
...
$mafab = new Mafab();
$search = $mafab->search(); // @return PoLaKoSz\Mafab\EndPoint\SearchEndpointInterface
$search = $mafab->search(); // @return PoLaKoSz\Mafab\EndPoints\SearchEndpointInterface

$results = $search->quicklyFor('Avatar');

Expand Down
4 changes: 2 additions & 2 deletions src/Endpoints/Search.php → src/EndPoints/Search.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace PoLaKoSz\Mafab\Endpoints;
namespace PoLaKoSz\Mafab\EndPoints;

use PoLaKoSz\Mafab\DataAccessLayer\IWebClient;
use PoLaKoSz\Mafab\Deserializers\SearchDeserializer;
use PoLaKoSz\Mafab\EndPoint;
use PoLaKoSz\Mafab\Endpoint;

class Search extends Endpoint implements SearchEndpointInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace PoLaKoSz\Mafab\Endpoints;
namespace PoLaKoSz\Mafab\EndPoints;

interface SearchEndpointInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/EndPoint.php → src/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function setWebClient(IWebClient $webClient) : void
{
$this->webClient = $webClient;
}

protected function callAPI(string $query) : string
{
return $this->webClient->getSourceCode($this->url . $query);
Expand Down
2 changes: 1 addition & 1 deletion src/Mafab.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct()
/**
* Search for Movie(s).
*
* @return PoLaKoSz\Mafab\EndPoint\SearchEndpointInterface
* @return PoLaKoSz\Mafab\EndPoints\SearchEndpointInterface
*/
public function search() : SearchEndpointInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/MafabInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface MafabInterface
/**
* Search for Movie(s).
*
* @return PoLaKoSz\Mafab\EndPoint\SearchEndpointInterface
* @return PoLaKoSz\Mafab\EndPoints\SearchEndpointInterface
*/
public function search() : SearchEndpointInterface;
}

0 comments on commit 26d65fd

Please sign in to comment.