Commit 135b6d51 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #664 from franzliedke/patch-3

Remove more unneeded Closure references
parents 4cff0907 df9c223e
<?php namespace Laravel\Cache\Drivers; use Closure;
<?php namespace Laravel\Cache\Drivers;
abstract class Driver {
......
<?php namespace Laravel; defined('DS') or die('No direct script access.');
use Closure;
class Config {
/**
......
<?php namespace Laravel; use Closure;
<?php namespace Laravel;
class Cookie {
......
......@@ -97,14 +97,14 @@ class Connection {
/**
* Execute a callback wrapped in a database transaction.
*
* @param Closure $callback
* @param callback $callback
* @return void
*/
public function transaction($callback)
{
$this->pdo->beginTransaction();
// After beginning the database transaction, we will call the Closure
// After beginning the database transaction, we will call the callback
// so that it can do its database work. If an exception occurs we'll
// rollback the transaction and re-throw back to the developer.
try
......
<?php namespace Laravel; use Closure, FilesystemIterator as fIterator;
<?php namespace Laravel; use FilesystemIterator as fIterator;
class File {
......
<?php namespace Laravel; use Closure;
<?php namespace Laravel;
class Lang {
......
<?php namespace Laravel; use Closure;
<?php namespace Laravel;
class Request {
......
<?php namespace Laravel\Session;
use Closure;
use Laravel\Str;
use Laravel\Config;
use Laravel\Cookie;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment