refactoring formatting.
This commit is contained in:
1
laravel/cache/drivers/file.php
vendored
1
laravel/cache/drivers/file.php
vendored
@@ -59,7 +59,6 @@ class File extends Driver {
|
|||||||
*/
|
*/
|
||||||
public function put($key, $value, $minutes)
|
public function put($key, $value, $minutes)
|
||||||
{
|
{
|
||||||
// The expiration time is stored as a UNIX timestamp at the beginning of the file.
|
|
||||||
F::put($this->path.$key, (time() + ($minutes * 60)).serialize($value));
|
F::put($this->path.$key, (time() + ($minutes * 60)).serialize($value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -273,7 +273,10 @@ class Grammar {
|
|||||||
*/
|
*/
|
||||||
protected function columnize($columns, $append = '')
|
protected function columnize($columns, $append = '')
|
||||||
{
|
{
|
||||||
foreach ($columns as $column) { $sql[] = $this->wrap($column).$append; }
|
foreach ($columns as $column)
|
||||||
|
{
|
||||||
|
$sql[] = $this->wrap($column).$append;
|
||||||
|
}
|
||||||
|
|
||||||
return implode(', ', $sql);
|
return implode(', ', $sql);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user