Skip to content

Commit

Permalink
replaced inheritdoc tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Nov 29, 2013
1 parent fb3ebe7 commit a5e3c00
Show file tree
Hide file tree
Showing 31 changed files with 139 additions and 139 deletions.
8 changes: 4 additions & 4 deletions extensions/composer/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ class Installer extends LibraryInstaller
const EXTENSION_FILE = 'yiisoft/extensions.php';

/**
* {@inheritdoc}
* @inheritdoc
*/
public function supports($packageType)
{
return $packageType === 'yii2-extension';
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
{
Expand All @@ -49,7 +49,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target)
{
Expand All @@ -63,7 +63,7 @@ public function update(InstalledRepositoryInterface $repo, PackageInterface $ini
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/composer/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Plugin implements PluginInterface
{
/**
* {@inheritdoc}
* @inheritdoc
*/
public function activate(Composer $composer, IOInterface $io)
{
Expand Down
6 changes: 3 additions & 3 deletions extensions/elasticsearch/ActiveQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function one($db = null)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function search($db = null, $options = [])
{
Expand All @@ -161,7 +161,7 @@ public function search($db = null, $options = [])
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function scalar($field, $db = null)
{
Expand All @@ -177,7 +177,7 @@ public function scalar($field, $db = null)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function column($field, $db = null)
{
Expand Down
18 changes: 9 additions & 9 deletions extensions/elasticsearch/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function getDb()
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function find($q = null)
{
Expand Down Expand Up @@ -138,15 +138,15 @@ public static function mget($primaryKeys, $options = [])
// TODO add percolate functionality http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-percolate.html

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function createQuery()
{
return new ActiveQuery(['modelClass' => get_called_class()]);
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function createActiveRelation($config = [])
{
Expand Down Expand Up @@ -175,7 +175,7 @@ public function setId($value)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getPrimaryKey($asArray = false)
{
Expand All @@ -187,7 +187,7 @@ public function getPrimaryKey($asArray = false)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getOldPrimaryKey($asArray = false)
{
Expand Down Expand Up @@ -430,31 +430,31 @@ public static function deleteAll($condition = [], $params = [])
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function updateAllCounters($counters, $condition = null, $params = [])
{
throw new NotSupportedException('Update Counters is not supported by elasticsearch ActiveRecord.');
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function getTableSchema()
{
throw new NotSupportedException('getTableSchema() is not supported by elasticsearch ActiveRecord.');
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function tableName()
{
return static::index() . '/' . static::type();
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public static function findBySql($sql, $params = [])
{
Expand Down
4 changes: 2 additions & 2 deletions extensions/gii/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ abstract public function getName();
abstract public function generate();

/**
* {@inheritdoc}
* @inheritdoc
*/
public function init()
{
Expand Down Expand Up @@ -164,7 +164,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 extensions/gii/GiiAsset.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
class GiiAsset extends AssetBundle
{
/**
* {@inheritdoc}
* @inheritdoc
*/
public $sourcePath = '@yii/gii/assets';
/**
* {@inheritdoc}
* @inheritdoc
*/
public $css = [
'main.css',
'typeahead.js-bootstrap.css',
];
/**
* {@inheritdoc}
* @inheritdoc
*/
public $js = [
'gii.js',
'typeahead.js',
];
/**
* {@inheritdoc}
* @inheritdoc
*/
public $depends = [
'yii\web\YiiAsset',
Expand Down
6 changes: 3 additions & 3 deletions extensions/gii/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
* @inheritdoc
*/
public $controllerNamespace = 'yii\gii\controllers';
/**
Expand Down Expand Up @@ -92,7 +92,7 @@ class Module extends \yii\base\Module


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

/**
* {@inheritdoc}
* @inheritdoc
*/
public function beforeAction($action)
{
Expand Down
20 changes: 10 additions & 10 deletions extensions/gii/generators/controller/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Generator extends \yii\gii\Generator
public $actions = 'index';

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

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

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getDescription()
{
Expand All @@ -64,7 +64,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 ['ns', 'baseClass'];
}

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

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

/**
* {@inheritdoc}
* @inheritdoc
*/
public function generate()
{
Expand Down
6 changes: 3 additions & 3 deletions extensions/gii/generators/crud/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function attributeLabels()
}

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

/**
* {@inheritdoc}
* @inheritdoc
*/
public function stickyAttributes()
{
Expand Down Expand Up @@ -123,7 +123,7 @@ public function validateModuleID()
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function generate()
{
Expand Down
2 changes: 1 addition & 1 deletion extensions/gii/generators/crud/templates/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function rules()
}

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

0 comments on commit a5e3c00

Please sign in to comment.