Skip to content

Commit

Permalink
@inheritdoc notation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klimov-paul committed Jan 23, 2018
1 parent 51e58d7 commit eff0d4f
Show file tree
Hide file tree
Showing 18 changed files with 87 additions and 87 deletions.
6 changes: 3 additions & 3 deletions Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ abstract public function getName();
abstract public function generate();

/**
* @inheritdoc
* {@inheritdoc}
*/
public function init()
{
Expand All @@ -87,7 +87,7 @@ public function init()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function attributeLabels()
{
Expand Down Expand Up @@ -191,7 +191,7 @@ public function getDescription()
}

/**
* @inheritdoc
* {@inheritdoc}
*
* Child classes should override this method like the following so that the parent
* rules are included:
Expand Down
8 changes: 4 additions & 4 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
class Module extends \yii\base\Module implements BootstrapInterface
{
/**
* @inheritdoc
* {@inheritdoc}
*/
public $controllerNamespace = 'yii\gii\controllers';
/**
Expand Down Expand Up @@ -81,7 +81,7 @@ class Module extends \yii\base\Module implements BootstrapInterface


/**
* @inheritdoc
* {@inheritdoc}
*/
public function bootstrap($app)
{
Expand All @@ -101,7 +101,7 @@ public function bootstrap($app)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function beforeAction($action)
{
Expand Down Expand Up @@ -169,7 +169,7 @@ protected function coreGenerators()
}

/**
* @inheritdoc
* {@inheritdoc}
* @since 2.0.6
*/
protected function defaultVersion()
Expand Down
2 changes: 1 addition & 1 deletion components/ActiveField.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ActiveField extends \yii\widgets\ActiveField


/**
* @inheritdoc
* {@inheritdoc}
*/
public function init()
{
Expand Down
2 changes: 1 addition & 1 deletion console/GenerateAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class GenerateAction extends \yii\base\Action


/**
* @inheritdoc
* {@inheritdoc}
*/
public function run()
{
Expand Down
22 changes: 11 additions & 11 deletions console/GenerateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,23 @@ class GenerateController extends Controller


/**
* @inheritdoc
* {@inheritdoc}
*/
public function __get($name)
{
return isset($this->_options[$name]) ? $this->_options[$name] : null;
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function __set($name, $value)
{
$this->_options[$name] = $value;
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function init()
{
Expand All @@ -76,7 +76,7 @@ public function init()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function createAction($id)
{
Expand All @@ -89,7 +89,7 @@ public function createAction($id)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function actions()
{
Expand All @@ -109,15 +109,15 @@ public function actionIndex()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getUniqueID()
{
return $this->id;
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function options($id)
{
Expand All @@ -137,7 +137,7 @@ public function options($id)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getActionHelpSummary($action)
{
Expand All @@ -150,7 +150,7 @@ public function getActionHelpSummary($action)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getActionHelp($action)
{
Expand All @@ -164,15 +164,15 @@ public function getActionHelp($action)
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getActionArgsHelp($action)
{
return [];
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getActionOptionsHelp($action)
{
Expand Down
2 changes: 1 addition & 1 deletion controllers/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DefaultController extends Controller


/**
* @inheritdoc
* {@inheritdoc}
*/
public function beforeAction($action)
{
Expand Down
18 changes: 9 additions & 9 deletions generators/controller/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ class Generator extends \yii\gii\Generator


/**
* @inheritdoc
* {@inheritdoc}
*/
public function getName()
{
return 'Controller Generator';
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getDescription()
{
Expand All @@ -63,7 +63,7 @@ public function getDescription()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function rules()
{
Expand All @@ -79,7 +79,7 @@ public function rules()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function attributeLabels()
{
Expand All @@ -92,7 +92,7 @@ public function attributeLabels()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function requiredTemplates()
{
Expand All @@ -103,15 +103,15 @@ public function requiredTemplates()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function stickyAttributes()
{
return ['baseClass'];
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function hints()
{
Expand All @@ -134,7 +134,7 @@ public function hints()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function successMessage()
{
Expand Down Expand Up @@ -163,7 +163,7 @@ private function getLinkToTry()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function generate()
{
Expand Down
16 changes: 8 additions & 8 deletions generators/crud/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ class Generator extends \yii\gii\Generator


/**
* @inheritdoc
* {@inheritdoc}
*/
public function getName()
{
return 'CRUD Generator';
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function getDescription()
{
Expand All @@ -63,7 +63,7 @@ public function getDescription()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function rules()
{
Expand All @@ -86,7 +86,7 @@ public function rules()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function attributeLabels()
{
Expand All @@ -102,7 +102,7 @@ public function attributeLabels()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function hints()
{
Expand All @@ -129,15 +129,15 @@ public function hints()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function requiredTemplates()
{
return ['controller.php'];
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function stickyAttributes()
{
Expand All @@ -158,7 +158,7 @@ public function validateModelClass()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function generate()
{
Expand Down
2 changes: 1 addition & 1 deletion generators/crud/default/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
class <?= $controllerClass ?> extends <?= StringHelper::basename($generator->baseControllerClass) . "\n" ?>
{
/**
* @inheritdoc
* {@inheritdoc}
*/
public function behaviors()
{
Expand Down
4 changes: 2 additions & 2 deletions generators/crud/default/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class <?= $searchModelClass ?> extends <?= isset($modelAlias) ? $modelAlias : $m

{
/**
* @inheritdoc
* {@inheritdoc}
*/
public function rules()
{
Expand All @@ -46,7 +46,7 @@ public function rules()
}

/**
* @inheritdoc
* {@inheritdoc}
*/
public function scenarios()
{
Expand Down
Loading

0 comments on commit eff0d4f

Please sign in to comment.