diff --git a/src/CodeFile.php b/src/CodeFile.php index cc43a2c..458f101 100644 --- a/src/CodeFile.php +++ b/src/CodeFile.php @@ -19,10 +19,11 @@ /** * CodeFile represents a code file to be generated. * - * @property-read string $relativePath The code file path relative to the application base path. - * @property-read string $type The code file extension (e.g. php, txt). + * @property string $relativePath The code file path relative to the application base path. + * @property string $type The code file extension (e.g. php, txt). * * @author Qiang Xue + * * @since 2.0 */ class CodeFile extends BaseObject diff --git a/src/Generator.php b/src/Generator.php index 28df225..f0ce4ea 100644 --- a/src/Generator.php +++ b/src/Generator.php @@ -32,12 +32,13 @@ * - [[generate()]]: generates the code based on the current user input and the specified code template files. * This is the place where main code generation code resides. * - * @property-read string $name The name of the generator. - * @property-read string $description The detailed description of the generator. - * @property-read string $stickyDataFile The file path that stores the sticky attribute values. - * @property-read string $templatePath The root path of the template files that are currently being used. + * @property string $name The name of the generator. + * @property string $description The detailed description of the generator. + * @property string $stickyDataFile The file path that stores the sticky attribute values. + * @property string $templatePath The root path of the template files that are currently being used. * * @author Qiang Xue + * * @since 2.0 */ abstract class Generator extends Model diff --git a/src/GiiAsset.php b/src/GiiAsset.php index 12e1efc..35414fb 100644 --- a/src/GiiAsset.php +++ b/src/GiiAsset.php @@ -17,6 +17,7 @@ * This declares the asset files required by Gii. * * @author Qiang Xue + * * @since 2.0 */ class GiiAsset extends AssetBundle diff --git a/src/Module.php b/src/Module.php index d9adfef..fbfe335 100644 --- a/src/Module.php +++ b/src/Module.php @@ -43,6 +43,7 @@ * you can then access Gii via URL: `http://localhost/path/to/index.php/gii` * * @author Qiang Xue + * * @since 2.0 */ class Module extends \yii\base\Module implements BootstrapInterface diff --git a/src/components/ActiveField.php b/src/components/ActiveField.php index bebefa9..f4d90ce 100644 --- a/src/components/ActiveField.php +++ b/src/components/ActiveField.php @@ -17,6 +17,7 @@ /** * @author Qiang Xue + * * @since 2.0 */ class ActiveField extends \yii\widgets\ActiveField diff --git a/src/components/ActiveForm.php b/src/components/ActiveForm.php index 48cd156..f57b6ff 100644 --- a/src/components/ActiveForm.php +++ b/src/components/ActiveForm.php @@ -13,6 +13,7 @@ /** * @author Wilmer Arambula + * * @since 2.2 */ class ActiveForm extends \yii\widgets\ActiveForm diff --git a/src/components/DiffRendererHtmlInline.php b/src/components/DiffRendererHtmlInline.php index 79bea06..64f41bc 100644 --- a/src/components/DiffRendererHtmlInline.php +++ b/src/components/DiffRendererHtmlInline.php @@ -15,6 +15,7 @@ * Renders diff to HTML. Output adjusted to be copy-paste friendly. * * @author Alexander Makarov + * * @since 2.0 */ class DiffRendererHtmlInline extends \Diff_Renderer_Html_Array diff --git a/src/console/GenerateAction.php b/src/console/GenerateAction.php index 321ed16..31b89a8 100644 --- a/src/console/GenerateAction.php +++ b/src/console/GenerateAction.php @@ -15,6 +15,7 @@ /** * @author Qiang Xue + * * @since 2.0 */ class GenerateAction extends \yii\base\Action diff --git a/src/console/GenerateController.php b/src/console/GenerateController.php index c8fb70d..a97ccc0 100644 --- a/src/console/GenerateController.php +++ b/src/console/GenerateController.php @@ -29,6 +29,7 @@ * * @author Tobias Munk * @author Qiang Xue + * * @since 2.0 */ class GenerateController extends Controller diff --git a/src/controllers/DefaultController.php b/src/controllers/DefaultController.php index 8bf8e71..0343cc9 100644 --- a/src/controllers/DefaultController.php +++ b/src/controllers/DefaultController.php @@ -18,6 +18,7 @@ /** * @author Qiang Xue + * * @since 2.0 */ class DefaultController extends Controller diff --git a/src/generators/controller/Generator.php b/src/generators/controller/Generator.php index c447cd5..e1c2ebf 100644 --- a/src/generators/controller/Generator.php +++ b/src/generators/controller/Generator.php @@ -20,13 +20,14 @@ /** * This generator will generate a controller and one or a few action view files. * - * @property-read array $actionIDs An array of action IDs entered by the user. - * @property-read string $controllerFile The controller class file path. - * @property-read string $controllerID The controller ID. - * @property-read string $controllerNamespace The namespace of the controller class. - * @property-read string $controllerSubPath The controller sub path. + * @property array $actionIDs An array of action IDs entered by the user. + * @property string $controllerFile The controller class file path. + * @property string $controllerID The controller ID. + * @property string $controllerNamespace The namespace of the controller class. + * @property string $controllerSubPath The controller sub path. * * @author Qiang Xue + * * @since 2.0 */ class Generator extends \yii\gii\Generator diff --git a/src/generators/crud/Generator.php b/src/generators/crud/Generator.php index 55e19b8..187f5e7 100644 --- a/src/generators/crud/Generator.php +++ b/src/generators/crud/Generator.php @@ -22,14 +22,15 @@ /** * Generates CRUD controller and views. * - * @property-read string[] $columnNames Model column/attribute names. - * @property-read string $controllerID The controller ID (without the module ID prefix). - * @property-read string $nameAttribute - * @property-read string[] $searchAttributes Searchable attributes. - * @property-read \yii\db\TableSchema|false $tableSchema - * @property-read string $viewPath The controller view path. + * @property string[] $columnNames Model column/attribute names. + * @property string $controllerID The controller ID (without the module ID prefix). + * @property string $nameAttribute + * @property string[] $searchAttributes Searchable attributes. + * @property false|\yii\db\TableSchema $tableSchema + * @property string $viewPath The controller view path. * * @author Qiang Xue + * * @since 2.0 */ class Generator extends \yii\gii\Generator