Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8d36c4e

Browse files
authored
Merge pull requestyajra#48 from yajra/analysis-zeM4Wv
Apply fixes from StyleCI
2 parents75c773c +dfedf11 commit8d36c4e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/Html/Builder.php‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function parameterize($attributes = [])
172172
list($ajaxDataFunction,$parameters) =$this->encodeAjaxDataFunction($parameters);
173173
list($columnFunctions,$parameters) =$this->encodeColumnFunctions($parameters);
174174
list($callbackFunctions,$parameters) =$this->encodeCallbackFunctions($parameters);
175-
list($editorButtons,$parameters) =$this->encodeEditorButtons($parameters);
175+
list($editorButtons,$parameters)=$this->encodeEditorButtons($parameters);
176176

177177
$json =json_encode($parameters);
178178

@@ -186,7 +186,6 @@ public function parameterize($attributes = [])
186186
return$json;
187187
}
188188

189-
190189
/**
191190
* Encode DataTables editor buttons.
192191
*
@@ -199,11 +198,12 @@ protected function encodeEditorButtons(array $parameters)
199198
if (isset($parameters['buttons'])) {
200199
foreach ($parameters['buttons']as$i =>$button) {
201200
if (isset($button['editor'])) {
202-
$editorButtons[$i] =$this->compileCallback($button['editor']);
201+
$editorButtons[$i]=$this->compileCallback($button['editor']);
203202
$parameters['buttons'][$i]['editor'] ="#editor_button.{$i}#";
204203
}
205204
}
206205
}
206+
207207
return [$editorButtons,$parameters];
208208
}
209209

@@ -219,6 +219,7 @@ protected function decodeEditorButtons(array $editorButtons, $json)
219219
foreach ($editorButtonsas$i =>$function) {
220220
$json =str_replace("\"#editor_button.{$i}#\"",$function,$json);
221221
}
222+
222223
return$json;
223224
}
224225

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp