mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
Doc-comments: Move param types to declaration
This commit is contained in:
@@ -92,10 +92,9 @@ if ($in) {
|
||||
<pre>
|
||||
<?php
|
||||
/** Format string as table row
|
||||
* @param string $s
|
||||
* @return string HTML
|
||||
*/
|
||||
function pre_tr($s) {
|
||||
function pre_tr(string $s) {
|
||||
return preg_replace('~^~m', '<tr>', preg_replace('~\|~', '<td>', preg_replace('~\|$~m', "", rtrim($s))));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user