Skip to content

Commit

Permalink
moved ConfigFile to hidev\base
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 1, 2017
1 parent aa57560 commit 106423b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/components/TravisYaml.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* `.travis.yml` config file.
*/
class TravisYaml extends \hidev\components\ConfigFile
class TravisYaml extends \hidev\base\ConfigFile
{
protected $_file = '.travis.yml';

Expand Down Expand Up @@ -67,12 +67,12 @@ public function getBeforeInstall()
/**
* Reorders config elements.
*/
public function actionSave()
public function save()
{
$this->addActionItems();
$this->prependLanguageOptions();

return parent::actionSave();
return parent::save();
}

public function addActionItems()
Expand Down
2 changes: 1 addition & 1 deletion src/console/TravisYamlController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class TravisYamlController extends \hidev\base\Controller
{
public function actionIndex()
{
$this->take('.travis.yml')->actionSave();
$this->take('.travis.yml')->save();
}
}

0 comments on commit 106423b

Please sign in to comment.