Update ImportMediawiki.php
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
90f7a40417
commit
1ef3777911
@ -516,7 +516,7 @@ class ImportMediawiki extends ImportPlugin
|
||||
*
|
||||
* @param string $cell Cell
|
||||
*/
|
||||
private function getCellData(string $cell): mixed
|
||||
private function getCellData(string $cell): string
|
||||
{
|
||||
// A cell could contain both parameters and data
|
||||
$cellData = explode('|', $cell, 2);
|
||||
|
||||
@ -6195,11 +6195,6 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Plugins/Import/ImportMediawiki.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$string of function trim expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Plugins/Import/ImportMediawiki.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$tableRow of method PhpMyAdmin\\\\Plugins\\\\Import\\\\ImportMediawiki\\:\\:setTableHeaders\\(\\) expects array, mixed given\\.$#"
|
||||
count: 1
|
||||
|
||||
@ -10307,7 +10307,6 @@
|
||||
<code><![CDATA[$GLOBALS['timeout_passed']]]></code>
|
||||
</InvalidArrayOffset>
|
||||
<MixedArgument>
|
||||
<code>$cell</code>
|
||||
<code>$cell</code>
|
||||
<code>$table[0]</code>
|
||||
<code>$table[1]</code>
|
||||
@ -10319,7 +10318,6 @@
|
||||
<MixedAssignment>
|
||||
<code><![CDATA[$GLOBALS['timeout_passed']]]></code>
|
||||
<code>$cell</code>
|
||||
<code>$cell</code>
|
||||
</MixedAssignment>
|
||||
<PossiblyUndefinedArrayOffset>
|
||||
<code>$cellData[1]</code>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user