Skip to content

Commit cac277a

Browse files
authored
🤖 Automatic code style fixes
1 parent 957fa14 commit cac277a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

‎bureaucracy_field.php

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
*/
99
class syntax_plugin_bureaucracy_field_dataplugin extends helper_plugin_bureaucracy_field
1010
{
11+
public $opt;
12+
public $tpl;
13+
public $error;
1114
private $args = [];
1215
private $additional;
1316

‎helper/aliastextbox.php

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
*/
99
class helper_plugin_data_aliastextbox extends helper_plugin_bureaucracy_field
1010
{
11+
public $opt;
12+
public $tpl;
13+
public $error;
1114
private $args;
1215
private $additional;
1316

‎syntax/entry.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,8 @@ public function saveData($data, $id, $title)
303303
* @fixme replace this madness
304304
* @return bool|mixed
305305
*/
306-
public function replaceQuery()
306+
public function replaceQuery(...$args)
307307
{
308-
$args = func_get_args();
309308
$argc = func_num_args();
310309

311310
if ($argc > 1) {
@@ -320,7 +319,7 @@ public function replaceQuery()
320319
$sqlite = $this->dthlp->getDB();
321320
if (!$sqlite) return false;
322321

323-
return call_user_func_array(array(&$sqlite, 'query'), $args);
322+
return call_user_func_array([&$sqlite, 'query'], $args);
324323
}
325324

326325

0 commit comments

Comments
 (0)