@@ -33,14 +33,14 @@ discard block |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * @param array $data |
| 36 | - * @param $entityId |
|
| 36 | + * @param integer $entityId |
|
| 37 | 37 | * |
| 38 | 38 | * @return bool |
| 39 | 39 | */ |
| 40 | 40 | public function update($entityId, $data = []); |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | - * @param $entityId |
|
| 43 | + * @param integer $entityId |
|
| 44 | 44 | * |
| 45 | 45 | * @throws \Exception |
| 46 | 46 | * |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | public function delete($entityId); |
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | - * @param $entityId |
|
| 52 | + * @param integer $entityId |
|
| 53 | 53 | * @param array $columns |
| 54 | 54 | * |
| 55 | 55 | * @return Entity |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * @param int $limit |
| 77 | 77 | * @param array $criteria |
| 78 | 78 | * |
| 79 | - * @return Paginator |
|
| 79 | + * @return \Illuminate\Contracts\Pagination\Paginator |
|
| 80 | 80 | */ |
| 81 | 81 | public function simplePaginate($limit = 10, $criteria = []); |
| 82 | 82 | |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | public function filter($criteria = []) |
| 80 | 80 | { |
| 81 | - $criteria= $this->order($criteria); |
|
| 81 | + $criteria = $this->order($criteria); |
|
| 82 | 82 | |
| 83 | 83 | /** @var Entity $latest */ |
| 84 | 84 | $latest = $this->model->with($this->with); |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * |
| 112 | 112 | * @return array |
| 113 | 113 | */ |
| 114 | - private function order($criteria=[]){ |
|
| 114 | + private function order($criteria = []) { |
|
| 115 | 115 | |
| 116 | 116 | if (isset($criteria['order'])) { |
| 117 | 117 | $this->order = $criteria['order']; |