diff --git a/CHANGELOG.md b/CHANGELOG.md index a928eafe..55d01600 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Api/ProvidersContainer.php b/src/Api/ProvidersContainer.php index b7f43961..cecbfaba 100644 --- a/src/Api/ProvidersContainer.php +++ b/src/Api/ProvidersContainer.php @@ -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; @@ -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])) {