From 09cb38fc679bf936b525422942a0b4856d9b6880 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 11 May 2012 12:23:25 +0300 Subject: [PATCH] Fix PHPDoc referring to Closure class. --- laravel/database/connection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/laravel/database/connection.php b/laravel/database/connection.php index 6584942d..dd1d8de6 100644 --- a/laravel/database/connection.php +++ b/laravel/database/connection.php @@ -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