1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated vim plugins

This commit is contained in:
amix
2016-11-09 18:22:55 +01:00
parent aad95603ea
commit 1494e2edfa
81 changed files with 2756 additions and 470 deletions

View File

@ -121,9 +121,9 @@ class ${2:`!v expand('%:t:r')`} extends \Eloquent {
public $timestamps = ${5:false};
protected $hidden = array(${6});
protected $hidden = [${6}];
protected $guarded = array(${7:'id'});
protected $guarded = [${7:'id'}];
}
endsnippet
@ -162,7 +162,7 @@ abstract class ${2:`!v expand('%:t:r')`} implements ${3:BaseRepositoryInterface}
*
* \return Illuminate\Database\Eloquent\Collection
*/
public function all($columns = array('*')) {
public function all($columns = ['*']) {
return $this->model->all()->toArray();
}
@ -189,7 +189,7 @@ abstract class ${2:`!v expand('%:t:r')`} implements ${3:BaseRepositoryInterface}
*
* \return mixed
*/
public function find($id, $columns = array('*')) {
public function find($id, $columns = ['*']) {
return $this->model->find($id, $columns);
}
}