(Grav GitSync) Automatic Commit from smokephil
This commit is contained in:
parent
88e07926d9
commit
9d9feba04b
144 changed files with 7311 additions and 5467 deletions
|
|
@ -153,7 +153,7 @@ abstract class AbstractController implements RequestHandlerInterface
|
|||
* @param mixed $default
|
||||
* @return mixed
|
||||
*/
|
||||
public function getPost(string $name = null, $default = null)
|
||||
public function getPost(?string $name = null, $default = null)
|
||||
{
|
||||
$body = $this->request->getParsedBody();
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ abstract class AbstractController implements RequestHandlerInterface
|
|||
* @param string|null $type
|
||||
* @return FlexForm
|
||||
*/
|
||||
public function getForm(string $type = null): FlexFormInterface
|
||||
public function getForm(?string $type = null): FlexFormInterface
|
||||
{
|
||||
$object = $this->getObject();
|
||||
if (!$object) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue