1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add void return types

Add void return type to functions with missing or empty return statements.

Closes GH-535.
This commit is contained in:
Mathias Reker ⚡️
2022-06-17 19:16:52 +02:00
committed by GitHub
parent ede0cad42f
commit 530b28e95b
9 changed files with 10 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
<?php // vim: et
(function($uri) {
(function($uri): void {
// Special redirect cases not able to be captured in error.php
$shortcuts = [
'/?:' => '/language.operators.comparison#language.operators.comparison.ternary',