Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
135b6d51
Commit
135b6d51
authored
May 11, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #664 from franzliedke/patch-3
Remove more unneeded Closure references
parents
4cff0907
df9c223e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
10 deletions
+7
-10
laravel/cache/drivers/driver.php
+1
-1
laravel/config.php
+0
-2
laravel/cookie.php
+1
-1
laravel/database/connection.php
+2
-2
laravel/file.php
+1
-1
laravel/lang.php
+1
-1
laravel/request.php
+1
-1
laravel/session/payload.php
+0
-1
No files found.
laravel/cache/drivers/driver.php
View file @
135b6d51
<?php
namespace
Laravel\Cache\Drivers
;
use
Closure
;
<?php
namespace
Laravel\Cache\Drivers
;
abstract
class
Driver
{
abstract
class
Driver
{
...
...
laravel/config.php
View file @
135b6d51
<?php
namespace
Laravel
;
defined
(
'DS'
)
or
die
(
'No direct script access.'
);
<?php
namespace
Laravel
;
defined
(
'DS'
)
or
die
(
'No direct script access.'
);
use
Closure
;
class
Config
{
class
Config
{
/**
/**
...
...
laravel/cookie.php
View file @
135b6d51
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Cookie
{
class
Cookie
{
...
...
laravel/database/connection.php
View file @
135b6d51
...
@@ -97,14 +97,14 @@ class Connection {
...
@@ -97,14 +97,14 @@ class Connection {
/**
/**
* Execute a callback wrapped in a database transaction.
* Execute a callback wrapped in a database transaction.
*
*
* @param
Closure
$callback
* @param
callback
$callback
* @return void
* @return void
*/
*/
public
function
transaction
(
$callback
)
public
function
transaction
(
$callback
)
{
{
$this
->
pdo
->
beginTransaction
();
$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
// so that it can do its database work. If an exception occurs we'll
// rollback the transaction and re-throw back to the developer.
// rollback the transaction and re-throw back to the developer.
try
try
...
...
laravel/file.php
View file @
135b6d51
<?php
namespace
Laravel
;
use
Closure
,
FilesystemIterator
as
fIterator
;
<?php
namespace
Laravel
;
use
FilesystemIterator
as
fIterator
;
class
File
{
class
File
{
...
...
laravel/lang.php
View file @
135b6d51
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Lang
{
class
Lang
{
...
...
laravel/request.php
View file @
135b6d51
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Request
{
class
Request
{
...
...
laravel/session/payload.php
View file @
135b6d51
<?php
namespace
Laravel\Session
;
<?php
namespace
Laravel\Session
;
use
Closure
;
use
Laravel\Str
;
use
Laravel\Str
;
use
Laravel\Config
;
use
Laravel\Config
;
use
Laravel\Cookie
;
use
Laravel\Cookie
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment