Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
3422c017
Commit
3422c017
authored
Mar 07, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor phpdoc fix
parent
05339536
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
PhpDocController.php
build/controllers/PhpDocController.php
+7
-4
No files found.
build/controllers/PhpDocController.php
View file @
3422c017
...
...
@@ -30,14 +30,14 @@ class PhpDocController extends Controller
public
$updateFiles
=
true
;
/**
* Generates
@property annotations
in class files from getters and setters
* Generates
`@property annotations`
in class files from getters and setters
*
* Property description will be taken from getter or setter or from an
@property annotation
* Property description will be taken from getter or setter or from an
`@property annotation`
* in the getters docblock if there is one defined.
*
* See https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#documentation for details.
*
* @param
null
$root the directory to parse files from. Defaults to YII_PATH.
* @param
string
$root the directory to parse files from. Defaults to YII_PATH.
*/
public
function
actionProperty
(
$root
=
null
)
{
...
...
@@ -110,6 +110,9 @@ class PhpDocController extends Controller
$this
->
stdout
(
"Updated
$nFilesUpdated
files.
\n
"
);
}
/**
* @inheritdoc
*/
public
function
globalOptions
()
{
return
array_merge
(
parent
::
globalOptions
(),
[
'updateFiles'
]);
...
...
@@ -197,7 +200,7 @@ class PhpDocController extends Controller
}
/**
*
r
eplace property annotations in doc comment
*
R
eplace property annotations in doc comment
* @param $doc
* @param $properties
* @return string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment