Skip to content

Commit

Permalink
Fix Scrutinizer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfeehan committed May 5, 2014
1 parent 0a24fe9 commit af0f37f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/ConfigLoader/ConfigLoaderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface ConfigLoaderInterface extends GuzzleConfigLoaderInterface
/**
* Retrieves the file extensions that this config loader supports
*
* @return array An array of strings
* @return array<string> An array of strings
*/
public function getSupportedExtensions();
}
4 changes: 1 addition & 3 deletions lib/ConfigLoader/DefaultGuzzleConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
* parser delegates to Guzzle's AbstractConfigLoader implementation to
* load configuration files of these types.
*/
class DefaultGuzzleConfigLoader
extends AbstractConfigLoader
implements ConfigLoaderInterface
class DefaultGuzzleConfigLoader extends AbstractConfigLoader implements ConfigLoaderInterface
{

/**
Expand Down
6 changes: 3 additions & 3 deletions lib/ServiceDescriptionLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ServiceDescriptionLoader extends GuzzleServiceDescriptionLoader
/**
* Allows setting the configuration loader to use
*
* @param \BradFeehan\GuzzleModularServiceDescriptions\ConfigLoader\ConfigLoaderInterface $configLoader
* @param null|\BradFeehan\GuzzleModularServiceDescriptions\ConfigLoader\ConfigLoaderInterface $configLoader
*/
public function __construct(ConfigLoaderInterface $configLoader = null)
{
Expand Down Expand Up @@ -80,7 +80,7 @@ protected function loadFile($filename)
*
* @param string $path Path to the service description to load
*
* @return \Guzzle\Service\Description\ServiceDescription
* @return array
*/
protected function loadModular($path)
{
Expand Down Expand Up @@ -122,7 +122,7 @@ protected function loadModular($path)
*
* @param string $path The path to iterate over
*
* @return \Iterator
* @return \BradFeehan\GuzzleModularServiceDescriptions\Utility\FileFilterIterator
*/
protected function filesIn($path)
{
Expand Down

0 comments on commit af0f37f

Please sign in to comment.