refactoring formatting.

This commit is contained in:
Taylor Otwell 2011-10-10 21:43:30 -05:00
parent 6cb79e6676
commit 392caeed91
2 changed files with 4 additions and 2 deletions

View File

@ -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));
} }

View File

@ -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);
} }