We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -61,7 +61,7 @@ |
||
61 | 61 | * Get all entries from the database with conditions. |
62 | 62 | * |
63 | 63 | * @param string $length the number of records requested |
64 | - * @param string $skip how many to skip |
|
64 | + * @param integer $skip how many to skip |
|
65 | 65 | * @param string $orderBy the column to order by |
66 | 66 | * @param string $orderDirection how to order asc/desc |
67 | 67 | * @param string $filter what string to filter the name by |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | */ |
20 | 20 | public function getEntry($id) |
21 | 21 | { |
22 | - if (! $this->entry) { |
|
22 | + if (!$this->entry) { |
|
23 | 23 | $this->entry = $this->model->findOrFail($id); |
24 | 24 | $this->entry = $this->entry->withFakes(); |
25 | 25 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | if ($filter !== null) { |
83 | 83 | $modifiers = 1; |
84 | - $entries = $this->query->where(function ($query) use ($filter) { |
|
84 | + $entries = $this->query->where(function($query) use ($filter) { |
|
85 | 85 | foreach ($this->columns as $column) { |
86 | 86 | if ($this->getColumnQuery($column) !== null) { |
87 | 87 | $query->orWhere( |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | public function hasUploadFields($form, $id = false) |
173 | 173 | { |
174 | 174 | $fields = $this->getFields($form, $id); |
175 | - $upload_fields = array_where($fields, function ($value, $key) { |
|
175 | + $upload_fields = array_where($fields, function($value, $key) { |
|
176 | 176 | return isset($value['upload']) && $value['upload'] == true; |
177 | 177 | }); |
178 | 178 | |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | */ |
271 | 271 | public function getCellView($column, $entry) |
272 | 272 | { |
273 | - if (! isset($column['type'])) { |
|
273 | + if (!isset($column['type'])) { |
|
274 | 274 | return \View::make('crud::columns.text')->with('crud', $this)->with('column', $column)->with('entry', |
275 | 275 | $entry)->render(); |
276 | 276 | } else { |
@@ -63,9 +63,9 @@ |
||
63 | 63 | // add the details_row buttons as the first column |
64 | 64 | if ($this->crud->details_row) { |
65 | 65 | array_unshift($row_items, \View::make('crud::columns.details_row_button') |
66 | - ->with('crud', $this->crud) |
|
67 | - ->with('entry', $entry) |
|
68 | - ->render()); |
|
66 | + ->with('crud', $this->crud) |
|
67 | + ->with('entry', $entry) |
|
68 | + ->render()); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | return $row_items; |