@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Set row model. |
| 42 | 42 | * |
| 43 | - * @param mixed $key |
|
| 43 | + * @param string $key |
|
| 44 | 44 | * |
| 45 | 45 | * @return \Illuminate\Database\Eloquent\Model|mixed |
| 46 | 46 | */ |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | $html = call_user_func_array($callback, [$this->row]); |
| 18 | 18 | |
| 19 | - $key = $this->getKey().'-'.str_replace('.','_',$this->getColumn()->getName()); |
|
| 19 | + $key = $this->getKey().'-'.str_replace('.', '_', $this->getColumn()->getName()); |
|
| 20 | 20 | |
| 21 | 21 | return <<<EOT |
| 22 | 22 | <span class="grid-expand" data-toggle="modal" data-target="#grid-modal-{$key}"> |