refactoring formatting.
This commit is contained in:
parent
6cb79e6676
commit
392caeed91
|
@ -59,7 +59,6 @@ protected function retrieve($key)
|
||||||
*/
|
*/
|
||||||
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 @@ public function delete(Query $query)
|
||||||
*/
|
*/
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue