mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-07 03:52:41 +00:00
Docblock and return type fixes
This commit is contained in:
parent
7269568ae6
commit
a691e70065
4 changed files with 29 additions and 22 deletions
|
@ -621,7 +621,7 @@ class View extends Object {
|
|||
* @see ViewBlock::start()
|
||||
*/
|
||||
public function start($name) {
|
||||
return $this->Blocks->start($name);
|
||||
$this->Blocks->start($name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -632,7 +632,7 @@ class View extends Object {
|
|||
* @see ViewBlock::startIfEmpty()
|
||||
*/
|
||||
public function startIfEmpty($name) {
|
||||
return $this->Blocks->startIfEmpty($name);
|
||||
$this->Blocks->startIfEmpty($name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -646,7 +646,7 @@ class View extends Object {
|
|||
* @see ViewBlock::concat()
|
||||
*/
|
||||
public function append($name, $value = null) {
|
||||
return $this->Blocks->concat($name, $value);
|
||||
$this->Blocks->concat($name, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -660,7 +660,7 @@ class View extends Object {
|
|||
* @see ViewBlock::concat()
|
||||
*/
|
||||
public function prepend($name, $value = null) {
|
||||
return $this->Blocks->concat($name, $value, ViewBlock::PREPEND);
|
||||
$this->Blocks->concat($name, $value, ViewBlock::PREPEND);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -674,7 +674,7 @@ class View extends Object {
|
|||
* @see ViewBlock::set()
|
||||
*/
|
||||
public function assign($name, $value) {
|
||||
return $this->Blocks->set($name, $value);
|
||||
$this->Blocks->set($name, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -697,7 +697,7 @@ class View extends Object {
|
|||
* @see ViewBlock::end()
|
||||
*/
|
||||
public function end() {
|
||||
return $this->Blocks->end();
|
||||
$this->Blocks->end();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue