Skip to content

Commit 3a7acfe

Browse files
author
Jeremy Sik
committed
Fixing style issues.
1 parent 99b8f95 commit 3a7acfe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Model/Model/IndexedModel.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,11 @@ public function getIndexDocumentData()
153153
* @param BaseModel $model
154154
* @return array
155155
*/
156-
private function getModelAttributes(BaseModel $model) {
156+
private function getModelAttributes(BaseModel $model)
157+
{
157158
$attributes = $model->attributesToArray();
158159

159-
if($model->pivot) {
160+
if ($model->pivot) {
160161
$attributes['_pivot'] = $model->pivot->toArray();
161162
}
162163

0 commit comments

Comments
 (0)