Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #390 from seregazhuk/fix-for-providers-resolving
Browse files Browse the repository at this point in the history
#385 Fix for providers resolving
  • Loading branch information
seregazhuk authored Jun 10, 2018
2 parents 76ac444 + 9c29f34 commit 21bfe84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
## v5.7.2 - 2018-06-10
### Fixed:
- board sections should require being logged in
- providers resolution for multi-case name

## v5.7.1 - 2018-05-13
### Fixed
Expand Down
3 changes: 1 addition & 2 deletions src/Api/ProvidersContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace seregazhuk\PinterestBot\Api;

use SebastianBergmann\CodeCoverage\Report\PHP;
use seregazhuk\PinterestBot\Api\Providers\BoardSections;
use seregazhuk\PinterestBot\Api\Providers\Pins;
use seregazhuk\PinterestBot\Api\Providers\Suggestions;
Expand Down Expand Up @@ -96,8 +97,6 @@ public function __get($provider)
*/
public function getProvider($provider)
{
$provider = strtolower($provider);

// Check if an instance has already been initiated. If not
// build it and then add to the providers array.
if (!isset($this->providers[$provider])) {
Expand Down

0 comments on commit 21bfe84

Please sign in to comment.