Skip to content

Commit 15ccf08

Browse files
committed
release version 2.0.6
1 parent 6800fd8 commit 15ccf08

File tree

10 files changed

+16
-16
lines changed

10 files changed

+16
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Yii Framework 2 apidoc extension Change Log
22
===========================================
33

4-
2.0.6 under development
4+
2.0.6 November 22, 2016
55
-----------------------
66

77
- Bug #5: Enable display of deprecated information for methods, properties, constants and events (cebe)

commands/ApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ApiController extends BaseController
3737
* Renders API documentation files
3838
* @param array $sourceDirs
3939
* @param string $targetDir
40-
* @return integer
40+
* @return int
4141
*/
4242
public function actionIndex(array $sourceDirs, $targetDir)
4343
{

commands/GuideController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class GuideController extends BaseController
3939
* Renders API documentation files
4040
* @param array $sourceDirs
4141
* @param string $targetDir
42-
* @return integer
42+
* @return int
4343
*/
4444
public function actionIndex(array $sourceDirs, $targetDir)
4545
{

components/BaseController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class BaseController extends Controller
3838
/**
3939
* Checks that target directory is valid. Asks questions in tricky cases.
4040
* @param string $target
41-
* @return boolean|string
41+
* @return bool|string
4242
*/
4343
protected function normalizeTargetDir($target)
4444
{
@@ -64,7 +64,7 @@ protected function normalizeTargetDir($target)
6464
/**
6565
* Finds files to process
6666
* @param array $sourceDirs
67-
* @return array|boolean list of files to process or false on failure
67+
* @return array|bool list of files to process or false on failure
6868
*/
6969
protected function searchFiles($sourceDirs)
7070
{

helpers/ApiMarkdown.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected function translateBlockType($type)
214214
*
215215
* @param string $content
216216
* @param TypeDoc $context
217-
* @param boolean $paragraph
217+
* @param bool $paragraph
218218
* @return string
219219
*/
220220
public static function process($content, $context = null, $paragraph = false)

helpers/ApiMarkdownLaTeX.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function renderQuote($block)
8080
*
8181
* @param string $content
8282
* @param TypeDoc $context
83-
* @param boolean $paragraph
83+
* @param bool $paragraph
8484
* @return string
8585
*/
8686
public static function process($content, $context = null, $paragraph = false)

models/BaseDoc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class BaseDoc extends Object
4242
/**
4343
* Checks if doc has tag of a given name
4444
* @param string $name tag name
45-
* @return boolean if doc has tag of a given name
45+
* @return bool if doc has tag of a given name
4646
*/
4747
public function hasTag($name)
4848
{

models/Context.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ protected function handlePropertyFeature($class)
436436
/**
437437
* Check whether a method has `$number` non-optional parameters.
438438
* @param MethodDoc $method
439-
* @param integer $number number of not optional parameters
440-
* @return boolean
439+
* @param int $number number of not optional parameters
440+
* @return bool
441441
*/
442442
private function hasNonOptionalParams($method, $number = 0)
443443
{
@@ -467,7 +467,7 @@ private function getFirstNotOptionalParameter($method)
467467
/**
468468
* @param ClassDoc $classA
469469
* @param ClassDoc|string $classB
470-
* @return boolean
470+
* @return bool
471471
*/
472472
protected function isSubclassOf($classA, $classB)
473473
{

models/PropertyDoc.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
/**
1414
* Represents API documentation information for a `property`.
1515
*
16-
* @property boolean $isReadOnly If property is read only. This property is read-only.
17-
* @property boolean $isWriteOnly If property is write only. This property is read-only.
16+
* @property bool $isReadOnly If property is read only. This property is read-only.
17+
* @property bool $isWriteOnly If property is write only. This property is read-only.
1818
*
1919
* @author Carsten Brandt <mail@cebe.cc>
2020
* @since 2.0
@@ -34,15 +34,15 @@ class PropertyDoc extends BaseDoc
3434

3535

3636
/**
37-
* @return boolean if property is read only
37+
* @return bool if property is read only
3838
*/
3939
public function getIsReadOnly()
4040
{
4141
return $this->getter !== null && $this->setter === null;
4242
}
4343

4444
/**
45-
* @return boolean if property is write only
45+
* @return bool if property is write only
4646
*/
4747
public function getIsWriteOnly()
4848
{

templates/bootstrap/SideNavWidget.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function renderItems()
120120
/**
121121
* Renders a widget's item.
122122
* @param string|array $item the item to render.
123-
* @param boolean $collapsed whether to collapse item if not active
123+
* @param bool $collapsed whether to collapse item if not active
124124
* @throws \yii\base\InvalidConfigException
125125
* @return string the rendering result.
126126
* @throws InvalidConfigException if label is not defined

0 commit comments

Comments
 (0)