PHP deprecation fixes, assigning null arguments in methods
This commit is contained in:
@@ -54,7 +54,7 @@ class InvoiceController extends Controller
|
||||
* @param string|null $code
|
||||
* @return View
|
||||
*/
|
||||
public function view(Invoice $o,string $code=NULL): View
|
||||
public function view(Invoice $o,?string $code=NULL): View
|
||||
{
|
||||
if ($code) {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user