Skip to content

Commit 32b3f41

Browse files
committed
Apply fixes from StyleCI
1 parent 6b62401 commit 32b3f41

File tree

6 files changed

+10
-1
lines changed

6 files changed

+10
-1
lines changed

src/EloquentDataTable.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class EloquentDataTable extends QueryDataTable
2020
* EloquentEngine constructor.
2121
*
2222
* @param \Illuminate\Database\Eloquent\Model|EloquentBuilder $model
23+
*
2324
* @throws \Yajra\DataTables\Exceptions\Exception
2425
*/
2526
public function __construct($model)

src/Processors/DataProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public function process($object = false): array
8181
* @param array $data
8282
* @param mixed $row
8383
* @return array
84+
*
8485
* @throws \Exception
8586
*/
8687
protected function addColumns(array $data, $row): array
@@ -108,6 +109,7 @@ protected function addColumns(array $data, $row): array
108109
* @param mixed $data
109110
* @param mixed $row
110111
* @return array
112+
*
111113
* @throws \Exception
112114
*/
113115
protected function editColumns($data, $row): array
@@ -126,6 +128,7 @@ protected function editColumns($data, $row): array
126128
* @param array $data
127129
* @param mixed $row
128130
* @return array
131+
*
129132
* @throws \Exception
130133
*/
131134
protected function setupRowVariables($data, $row): array

src/Processors/RowProcessor.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Yajra\DataTables\Processors;
44

5-
use ArrayAccess;
65
use Illuminate\Support\Arr;
76
use Yajra\DataTables\Utilities\Helper;
87

@@ -22,6 +21,7 @@ public function __construct(protected $data, protected $row)
2221
* @param string $attribute
2322
* @param string|callable $template
2423
* @return $this
24+
*
2525
* @throws \Exception
2626
*/
2727
public function rowValue($attribute, $template)
@@ -43,6 +43,7 @@ public function rowValue($attribute, $template)
4343
* @param string $attribute
4444
* @param array $template
4545
* @return $this
46+
*
4647
* @throws \Exception
4748
*/
4849
public function rowData($attribute, array $template)

src/Utilities/Helper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public static function getMixedValue(array $data, $param)
125125
*
126126
* @param mixed $param
127127
* @return array
128+
*
128129
* @throws \Yajra\DataTables\Exceptions\Exception
129130
*/
130131
public static function castToArray($param): array

src/Utilities/Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public function columnKeyword($index): string
185185
*
186186
* @param mixed $keyword
187187
* @return string
188+
*
188189
* @throws \Yajra\DataTables\Exceptions\Exception
189190
*/
190191
protected function prepareKeyword($keyword): string
@@ -204,6 +205,7 @@ protected function prepareKeyword($keyword): string
204205
* Get global search keyword.
205206
*
206207
* @return string
208+
*
207209
* @throws \Yajra\DataTables\Exceptions\Exception
208210
*/
209211
public function keyword(): string

src/helper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*
88
* @param object|null $source
99
* @return \Yajra\DataTables\DataTableAbstract|\Yajra\DataTables\DataTables
10+
*
1011
* @throws \Yajra\DataTables\Exceptions\Exception
1112
*/
1213
function datatables($source = null)

0 commit comments

Comments
 (0)