laravel/framework — pull request #1826 by aeberhardo (2013-07-07 08:47:46+00:00)
Title: Added missing "use Closure;" to SqlServerConnection.php

### Introduction

Issue has been discovered in http://forums.laravel.io/viewtopic.php?id=9900.

### Problem analysis

In `Illuminate/Database/SqlServerConnection.php` the method signature of `transaction` looks like this

```
public function transaction(Closure $callback)
```

If the `Closure` class is referenced like this, it has to be declared in a `use` statement after the namespace definition in the file. However the `use` statement is missing, resulting in an error message when `transaction` method is called:

```
Argument 1 passed to Illuminate\Database\SqlServerConnection::transaction() must be an instance of Illuminate\Database\Closure, instance of Closure given
```

### Solution
This pull request adds `use Closure;` to the file `SqlServerConnection.php`.

Signed-off-by: aeberhardo