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
8a6eceb8
Commit
8a6eceb8
authored
Mar 26, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
phpdoc fixes
parent
9b8372d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
TypeDoc.php
extensions/apidoc/models/TypeDoc.php
+2
-2
BaseRenderer.php
extensions/apidoc/renderers/BaseRenderer.php
+4
-4
BaseActiveRecord.php
framework/db/BaseActiveRecord.php
+5
-4
No files found.
extensions/apidoc/models/TypeDoc.php
View file @
8a6eceb8
...
@@ -86,8 +86,8 @@ class TypeDoc extends BaseDoc
...
@@ -86,8 +86,8 @@ class TypeDoc extends BaseDoc
}
}
/**
/**
* @param
null
$visibility
* @param
string|null
$visibility
* @param
null
$definedBy
* @param
string|null
$definedBy
* @return MethodDoc[]
* @return MethodDoc[]
*/
*/
private
function
getFilteredMethods
(
$visibility
=
null
,
$definedBy
=
null
)
private
function
getFilteredMethods
(
$visibility
=
null
,
$definedBy
=
null
)
...
...
extensions/apidoc/renderers/BaseRenderer.php
View file @
8a6eceb8
...
@@ -53,10 +53,10 @@ abstract class BaseRenderer extends Component
...
@@ -53,10 +53,10 @@ abstract class BaseRenderer extends Component
/**
/**
* creates a link to a type (class, interface or trait)
* creates a link to a type (class, interface or trait)
* @param
ClassDoc|InterfaceDoc|TraitDoc|ClassDoc[]|InterfaceDoc[]|TraitDoc
[] $types
* @param
ClassDoc|InterfaceDoc|TraitDoc|ClassDoc[]|InterfaceDoc[]|TraitDoc[]|string|string
[] $types
* @param
string $title
a title to be used for the link TODO check whether [[yii\...|Class]] is supported
* @param
string $title
a title to be used for the link TODO check whether [[yii\...|Class]] is supported
* @param
BaseDoc
$context
* @param
BaseDoc
$context
* @param
array
$options additional HTML attributes for the link.
* @param
array
$options additional HTML attributes for the link.
* @return string
* @return string
*/
*/
public
function
createTypeLink
(
$types
,
$context
=
null
,
$title
=
null
,
$options
=
[])
public
function
createTypeLink
(
$types
,
$context
=
null
,
$title
=
null
,
$options
=
[])
...
...
framework/db/BaseActiveRecord.php
View file @
8a6eceb8
...
@@ -81,7 +81,8 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
...
@@ -81,7 +81,8 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
*/
*/
private
$_attributes
=
[];
private
$_attributes
=
[];
/**
/**
* @var array old attribute values indexed by attribute names.
* @var array|null old attribute values indexed by attribute names.
* This is `null` if the record [[isNewRecord|is new]].
*/
*/
private
$_oldAttributes
;
private
$_oldAttributes
;
/**
/**
...
@@ -475,7 +476,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
...
@@ -475,7 +476,7 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
/**
/**
* Sets the old attribute values.
* Sets the old attribute values.
* All existing old attribute values will be discarded.
* All existing old attribute values will be discarded.
* @param array $values old attribute values to be set.
* @param array
|null
$values old attribute values to be set.
*/
*/
public
function
setOldAttributes
(
$values
)
public
function
setOldAttributes
(
$values
)
{
{
...
@@ -1304,8 +1305,8 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
...
@@ -1304,8 +1305,8 @@ abstract class BaseActiveRecord extends Model implements ActiveRecordInterface
/**
/**
* @param array $link
* @param array $link
* @param
BaseActiveRecord
$foreignModel
* @param
ActiveRecordInterface
$foreignModel
* @param
BaseActiveRecord
$primaryModel
* @param
ActiveRecordInterface
$primaryModel
* @throws InvalidCallException
* @throws InvalidCallException
*/
*/
private
function
bindModels
(
$link
,
$foreignModel
,
$primaryModel
)
private
function
bindModels
(
$link
,
$foreignModel
,
$primaryModel
)
...
...
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