Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (20 sloc) 512 Bytes
<?php
namespace Drush\Config;
trait ConfigAwareTrait
{
use \Robo\Common\ConfigAwareTrait {
\Robo\Common\ConfigAwareTrait::getConfig as parentGetConfig;
}
/**
* Replaces same method in ConfigAwareTrait in order to provide a
* DrushConfig as return type. Helps with IDE completion.
*
* @see https://stackoverflow.com/a/37687295.
*
* @return \Drush\Config\DrushConfig
*/
public function getConfig()
{
return $this->parentGetConfig();
}
}