Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
3b09f99f
Commit
3b09f99f
authored
Jul 27, 2012
by
Dayle Rees
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #989 from dprvig/develop
Fixed various typos throughout laravel folder.
parents
5299e32a
0ea30993
Changes
35
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
61 additions
and
61 deletions
+61
-61
autoloader.php
laravel/autoloader.php
+3
-3
bundle.php
laravel/bundle.php
+2
-2
bundler.php
laravel/cli/tasks/bundle/bundler.php
+2
-2
provider.php
laravel/cli/tasks/bundle/providers/provider.php
+2
-2
database.php
laravel/cli/tasks/migrate/database.php
+1
-1
migrator.php
laravel/cli/tasks/migrate/migrator.php
+2
-2
cookie.php
laravel/cookie.php
+1
-1
connection.php
laravel/database/connection.php
+1
-1
model.php
laravel/database/eloquent/model.php
+1
-1
query.php
laravel/database/eloquent/query.php
+2
-2
query.php
laravel/database/query.php
+3
-3
grammar.php
laravel/database/query/grammars/grammar.php
+8
-8
postgres.php
laravel/database/query/grammars/postgres.php
+1
-1
schema.php
laravel/database/schema.php
+1
-1
mysql.php
laravel/database/schema/grammars/mysql.php
+3
-3
postgres.php
laravel/database/schema/grammars/postgres.php
+3
-3
sqlite.php
laravel/database/schema/grammars/sqlite.php
+4
-4
sqlserver.php
laravel/database/schema/grammars/sqlserver.php
+2
-2
error.php
laravel/error.php
+1
-1
file.php
laravel/file.php
+1
-1
html.php
laravel/html.php
+1
-1
ioc.php
laravel/ioc.php
+1
-1
lang.php
laravel/lang.php
+1
-1
laravel.php
laravel/laravel.php
+2
-2
log.php
laravel/log.php
+1
-1
pluralizer.php
laravel/pluralizer.php
+2
-2
redis.php
laravel/redis.php
+1
-1
router.php
laravel/routing/router.php
+1
-1
database.php
laravel/session/drivers/database.php
+1
-1
driver.php
laravel/session/drivers/driver.php
+1
-1
file.php
laravel/session/drivers/file.php
+1
-1
sweeper.php
laravel/session/drivers/sweeper.php
+1
-1
payload.php
laravel/session/payload.php
+1
-1
url.php
laravel/url.php
+1
-1
validator.php
laravel/validator.php
+1
-1
No files found.
laravel/autoloader.php
View file @
3b09f99f
...
@@ -40,7 +40,7 @@ class Autoloader {
...
@@ -40,7 +40,7 @@ class Autoloader {
/**
/**
* Load the file corresponding to a given class.
* Load the file corresponding to a given class.
*
*
* This method is registerd in the bootstrap file as an SPL auto-loader.
* This method is register
e
d in the bootstrap file as an SPL auto-loader.
*
*
* @param string $class
* @param string $class
* @return void
* @return void
...
@@ -55,7 +55,7 @@ class Autoloader {
...
@@ -55,7 +55,7 @@ class Autoloader {
return
class_alias
(
static
::
$aliases
[
$class
],
$class
);
return
class_alias
(
static
::
$aliases
[
$class
],
$class
);
}
}
// All classes in Laravel are staticly mapped. There is no crazy search
// All classes in Laravel are static
al
ly mapped. There is no crazy search
// routine that digs through directories. It's just a simple array of
// routine that digs through directories. It's just a simple array of
// class to file path maps for ultra-fast file loading.
// class to file path maps for ultra-fast file loading.
elseif
(
isset
(
static
::
$mappings
[
$class
]))
elseif
(
isset
(
static
::
$mappings
[
$class
]))
...
@@ -102,7 +102,7 @@ class Autoloader {
...
@@ -102,7 +102,7 @@ class Autoloader {
protected
static
function
load_psr
(
$class
,
$directory
=
null
)
protected
static
function
load_psr
(
$class
,
$directory
=
null
)
{
{
// The PSR-0 standard indicates that class namespaces and underscores
// The PSR-0 standard indicates that class namespaces and underscores
// should be used to indcate the directory tree in which the class
// should be used to ind
i
cate the directory tree in which the class
// resides, so we'll convert them to slashes.
// resides, so we'll convert them to slashes.
$file
=
str_replace
(
array
(
'\\'
,
'_'
),
'/'
,
$class
);
$file
=
str_replace
(
array
(
'\\'
,
'_'
),
'/'
,
$class
);
...
...
laravel/bundle.php
View file @
3b09f99f
...
@@ -66,7 +66,7 @@ class Bundle {
...
@@ -66,7 +66,7 @@ class Bundle {
// It is possible for the developer to specify auto-loader mappings
// It is possible for the developer to specify auto-loader mappings
// directly on the bundle registration. This provides a convenient
// directly on the bundle registration. This provides a convenient
// way to register mappings with
uo
t a bootstrap.
// way to register mappings with
ou
t a bootstrap.
if
(
isset
(
$config
[
'autoloads'
]))
if
(
isset
(
$config
[
'autoloads'
]))
{
{
static
::
autoloads
(
$bundle
,
$config
);
static
::
autoloads
(
$bundle
,
$config
);
...
@@ -201,7 +201,7 @@ class Bundle {
...
@@ -201,7 +201,7 @@ class Bundle {
}
}
/**
/**
* Deter
e
mine if a bundle exists within the bundles directory.
* Determine if a bundle exists within the bundles directory.
*
*
* @param string $bundle
* @param string $bundle
* @return bool
* @return bool
...
...
laravel/cli/tasks/bundle/bundler.php
View file @
3b09f99f
...
@@ -49,7 +49,7 @@ class Bundler extends Task {
...
@@ -49,7 +49,7 @@ class Bundler extends Task {
// all of its registered dependencies as well.
// all of its registered dependencies as well.
//
//
// Each bundle provider implements the Provider interface and
// Each bundle provider implements the Provider interface and
// is re
ps
onsible for retrieving the bundle source from its
// is re
sp
onsible for retrieving the bundle source from its
// hosting party and installing it into the application.
// hosting party and installing it into the application.
$path
=
path
(
'bundle'
)
.
$this
->
path
(
$bundle
);
$path
=
path
(
'bundle'
)
.
$this
->
path
(
$bundle
);
...
@@ -135,7 +135,7 @@ class Bundler extends Task {
...
@@ -135,7 +135,7 @@ class Bundler extends Task {
$responses
[]
=
$bundle
;
$responses
[]
=
$bundle
;
// We'll also get the bundle's declared dependenc
ei
s so they
// We'll also get the bundle's declared dependenc
ie
s so they
// can be installed along with the bundle, making it easy
// can be installed along with the bundle, making it easy
// to install a group of bundles.
// to install a group of bundles.
$dependencies
=
$this
->
get
(
$bundle
[
'dependencies'
]);
$dependencies
=
$this
->
get
(
$bundle
[
'dependencies'
]);
...
...
laravel/cli/tasks/bundle/providers/provider.php
View file @
3b09f99f
...
@@ -27,7 +27,7 @@ abstract class Provider {
...
@@ -27,7 +27,7 @@ abstract class Provider {
// When installing a bundle from a Zip archive, we'll first clone
// When installing a bundle from a Zip archive, we'll first clone
// down the bundle zip into the bundles "working" directory so
// down the bundle zip into the bundles "working" directory so
// we have a spot to do all of our bundle extration work.
// we have a spot to do all of our bundle extra
c
tion work.
$target
=
$work
.
'laravel-bundle.zip'
;
$target
=
$work
.
'laravel-bundle.zip'
;
File
::
put
(
$target
,
$this
->
download
(
$url
));
File
::
put
(
$target
,
$this
->
download
(
$url
));
...
@@ -49,7 +49,7 @@ abstract class Provider {
...
@@ -49,7 +49,7 @@ abstract class Provider {
// Once we have the latest modified directory, we should be
// Once we have the latest modified directory, we should be
// able to move its contents over into the bundles folder
// able to move its contents over into the bundles folder
// so the bundle will be usable by the develo
ep
r.
// so the bundle will be usable by the develo
pe
r.
File
::
mvdir
(
$latest
,
$path
);
File
::
mvdir
(
$latest
,
$path
);
File
::
rmdir
(
$work
.
'zip'
);
File
::
rmdir
(
$work
.
'zip'
);
...
...
laravel/cli/tasks/migrate/database.php
View file @
3b09f99f
...
@@ -40,7 +40,7 @@ class Database {
...
@@ -40,7 +40,7 @@ class Database {
$table
=
$this
->
table
();
$table
=
$this
->
table
();
// First we need to grab the last batch ID from the migration table,
// First we need to grab the last batch ID from the migration table,
// as this will allow us to grab the la
s
test batch of migrations
// as this will allow us to grab the latest batch of migrations
// that need to be run for a rollback command.
// that need to be run for a rollback command.
$id
=
$this
->
batch
();
$id
=
$this
->
batch
();
...
...
laravel/cli/tasks/migrate/migrator.php
View file @
3b09f99f
...
@@ -206,7 +206,7 @@ class Migrator extends Task {
...
@@ -206,7 +206,7 @@ class Migrator extends Task {
// Once the migration has been created, we'll return the
// Once the migration has been created, we'll return the
// migration file name so it can be used by the task
// migration file name so it can be used by the task
// consumer if necessary for futher work.
// consumer if necessary for fu
r
ther work.
return
$file
;
return
$file
;
}
}
...
@@ -223,7 +223,7 @@ class Migrator extends Task {
...
@@ -223,7 +223,7 @@ class Migrator extends Task {
$prefix
=
Bundle
::
class_prefix
(
$bundle
);
$prefix
=
Bundle
::
class_prefix
(
$bundle
);
// The class name is formatted simi
al
rly to tasks and controllers,
// The class name is formatted simi
la
rly to tasks and controllers,
// where the bundle name is prefixed to the class if it is not in
// where the bundle name is prefixed to the class if it is not in
// the default "application" bundle.
// the default "application" bundle.
$class
=
$prefix
.
Str
::
classify
(
$migration
);
$class
=
$prefix
.
Str
::
classify
(
$migration
);
...
...
laravel/cookie.php
View file @
3b09f99f
...
@@ -77,7 +77,7 @@ class Cookie {
...
@@ -77,7 +77,7 @@ class Cookie {
// If the secure option is set to true, yet the request is not over HTTPS
// If the secure option is set to true, yet the request is not over HTTPS
// we'll throw an exception to let the developer know that they are
// we'll throw an exception to let the developer know that they are
// attempting to send a secure cookie over the unsecure HTTP.
// attempting to send a secure cookie over the unsecure
d
HTTP.
if
(
$secure
and
!
Request
::
secure
())
if
(
$secure
and
!
Request
::
secure
())
{
{
throw
new
\Exception
(
"Attempting to set secure cookie over HTTP."
);
throw
new
\Exception
(
"Attempting to set secure cookie over HTTP."
);
...
...
laravel/database/connection.php
View file @
3b09f99f
...
@@ -287,7 +287,7 @@ class Connection {
...
@@ -287,7 +287,7 @@ class Connection {
{
{
// If the fetch style is "class", we'll hydrate an array of PHP
// If the fetch style is "class", we'll hydrate an array of PHP
// stdClass objects as generic containers for the query rows,
// stdClass objects as generic containers for the query rows,
// otherwise we'll just use the fetch sty
el
value.
// otherwise we'll just use the fetch sty
le
value.
if
(
$style
===
PDO
::
FETCH_CLASS
)
if
(
$style
===
PDO
::
FETCH_CLASS
)
{
{
return
$statement
->
fetchAll
(
PDO
::
FETCH_CLASS
,
'stdClass'
);
return
$statement
->
fetchAll
(
PDO
::
FETCH_CLASS
,
'stdClass'
);
...
...
laravel/database/eloquent/model.php
View file @
3b09f99f
...
@@ -763,7 +763,7 @@ abstract class Model {
...
@@ -763,7 +763,7 @@ abstract class Model {
$underscored
=
array
(
'with'
,
'find'
);
$underscored
=
array
(
'with'
,
'find'
);
// Some methods need to be accessed both static
ly and non-static
ly so we'll
// Some methods need to be accessed both static
ally and non-statical
ly so we'll
// keep underscored methods of those methods and intercept calls to them
// keep underscored methods of those methods and intercept calls to them
// here so they can be called either way on the model instance.
// here so they can be called either way on the model instance.
if
(
in_array
(
$method
,
$underscored
))
if
(
in_array
(
$method
,
$underscored
))
...
...
laravel/database/eloquent/query.php
View file @
3b09f99f
...
@@ -38,7 +38,7 @@ class Query {
...
@@ -38,7 +38,7 @@ class Query {
);
);
/**
/**
* Creat a new query instance for a model.
* Creat
e
a new query instance for a model.
*
*
* @param Model $model
* @param Model $model
* @return void
* @return void
...
@@ -118,7 +118,7 @@ class Query {
...
@@ -118,7 +118,7 @@ class Query {
$new
=
new
$class
(
array
(),
true
);
$new
=
new
$class
(
array
(),
true
);
// We need to set the attributes manually in case the accessible property is
// We need to set the attributes manually in case the accessible property is
// set on the array which will prevent the mass assign
em
nt of attributes if
// set on the array which will prevent the mass assign
me
nt of attributes if
// we were to pass them in using the constructor or fill methods.
// we were to pass them in using the constructor or fill methods.
$new
->
fill_raw
(
$result
);
$new
->
fill_raw
(
$result
);
...
...
laravel/database/query.php
View file @
3b09f99f
...
@@ -168,7 +168,7 @@ class Query {
...
@@ -168,7 +168,7 @@ class Query {
// If the column is just a string, we can assume that the join just
// If the column is just a string, we can assume that the join just
// has a simple on clause, and we'll create the join instance and
// has a simple on clause, and we'll create the join instance and
// add the clause automatically for the develo
ep
r.
// add the clause automatically for the develo
pe
r.
else
else
{
{
$join
=
new
Query\Join
(
$type
,
$table
);
$join
=
new
Query\Join
(
$type
,
$table
);
...
@@ -686,7 +686,7 @@ class Query {
...
@@ -686,7 +686,7 @@ class Query {
{
{
// Because some database engines may throw errors if we leave orderings
// Because some database engines may throw errors if we leave orderings
// on the query when retrieving the total number of records, we'll drop
// on the query when retrieving the total number of records, we'll drop
// all of the ord
re
ings and put them back on the query.
// all of the ord
er
ings and put them back on the query.
list
(
$orderings
,
$this
->
orderings
)
=
array
(
$this
->
orderings
,
null
);
list
(
$orderings
,
$this
->
orderings
)
=
array
(
$this
->
orderings
,
null
);
$total
=
$this
->
count
(
reset
(
$columns
));
$total
=
$this
->
count
(
reset
(
$columns
));
...
@@ -852,7 +852,7 @@ class Query {
...
@@ -852,7 +852,7 @@ class Query {
}
}
// All of the aggregate methods are handled by a single method, so we'll
// All of the aggregate methods are handled by a single method, so we'll
// catch them all here and then pass them off to the agregate method
// catch them all here and then pass them off to the ag
g
regate method
// instead of creating methods for each one of them.
// instead of creating methods for each one of them.
if
(
in_array
(
$method
,
array
(
'count'
,
'min'
,
'max'
,
'avg'
,
'sum'
)))
if
(
in_array
(
$method
,
array
(
'count'
,
'min'
,
'max'
,
'avg'
,
'sum'
)))
{
{
...
...
laravel/database/query/grammars/grammar.php
View file @
3b09f99f
...
@@ -13,7 +13,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -13,7 +13,7 @@ class Grammar extends \Laravel\Database\Grammar {
public
$datetime
=
'Y-m-d H:i:s'
;
public
$datetime
=
'Y-m-d H:i:s'
;
/**
/**
* All of the query componen
e
ts in the order they should be built.
* All of the query components in the order they should be built.
*
*
* @var array
* @var array
*/
*/
...
@@ -149,7 +149,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -149,7 +149,7 @@ class Grammar extends \Laravel\Database\Grammar {
// The first clause will have a connector on the front, but it is
// The first clause will have a connector on the front, but it is
// not needed on the first condition, so we will strip it off of
// not needed on the first condition, so we will strip it off of
// the condition before adding it to the arr
ya
of joins.
// the condition before adding it to the arr
ay
of joins.
$search
=
array
(
'AND '
,
'OR '
);
$search
=
array
(
'AND '
,
'OR '
);
$clauses
[
0
]
=
str_replace
(
$search
,
''
,
$clauses
[
0
]);
$clauses
[
0
]
=
str_replace
(
$search
,
''
,
$clauses
[
0
]);
...
@@ -343,7 +343,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -343,7 +343,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
}
/**
/**
* Compile a SQL INSERT statment from a Query instance.
* Compile a SQL INSERT stat
e
ment from a Query instance.
*
*
* This method handles the compilation of single row inserts and batch inserts.
* This method handles the compilation of single row inserts and batch inserts.
*
*
...
@@ -366,7 +366,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -366,7 +366,7 @@ class Grammar extends \Laravel\Database\Grammar {
$columns
=
$this
->
columnize
(
array_keys
(
reset
(
$values
)));
$columns
=
$this
->
columnize
(
array_keys
(
reset
(
$values
)));
// Build the list of parameter place-holders of values bound to the query.
// Build the list of parameter place-holders of values bound to the query.
// Each insert should have the same number of bound paramters, so we can
// Each insert should have the same number of bound param
e
ters, so we can
// just use the first array of values.
// just use the first array of values.
$parameters
=
$this
->
parameterize
(
reset
(
$values
));
$parameters
=
$this
->
parameterize
(
reset
(
$values
));
...
@@ -376,7 +376,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -376,7 +376,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
}
/**
/**
* Compile a SQL INSERT and get ID statment from a Query instance.
* Compile a SQL INSERT and get ID stat
e
ment from a Query instance.
*
*
* @param Query $query
* @param Query $query
* @param array $values
* @param array $values
...
@@ -389,7 +389,7 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -389,7 +389,7 @@ class Grammar extends \Laravel\Database\Grammar {
}
}
/**
/**
* Compile a SQL UPDATE statment from a Query instance.
* Compile a SQL UPDATE stat
e
ment from a Query instance.
*
*
* @param Query $query
* @param Query $query
* @param array $values
* @param array $values
...
@@ -410,13 +410,13 @@ class Grammar extends \Laravel\Database\Grammar {
...
@@ -410,13 +410,13 @@ class Grammar extends \Laravel\Database\Grammar {
$columns
=
implode
(
', '
,
$columns
);
$columns
=
implode
(
', '
,
$columns
);
// UPDATE statements may be constrained by a WHERE clause, so we'll run
// UPDATE statements may be constrained by a WHERE clause, so we'll run
// the entire where compilation process for those contraints. This is
// the entire where compilation process for those con
s
traints. This is
// easily achieved by passing it to the "wheres" method.
// easily achieved by passing it to the "wheres" method.
return
trim
(
"UPDATE
{
$table
}
SET
{
$columns
}
"
.
$this
->
wheres
(
$query
));
return
trim
(
"UPDATE
{
$table
}
SET
{
$columns
}
"
.
$this
->
wheres
(
$query
));
}
}
/**
/**
* Compile a SQL DELETE statment from a Query instance.
* Compile a SQL DELETE stat
e
ment from a Query instance.
*
*
* @param Query $query
* @param Query $query
* @return string
* @return string
...
...
laravel/database/query/grammars/postgres.php
View file @
3b09f99f
...
@@ -5,7 +5,7 @@ use Laravel\Database\Query;
...
@@ -5,7 +5,7 @@ use Laravel\Database\Query;
class
Postgres
extends
Grammar
{
class
Postgres
extends
Grammar
{
/**
/**
* Compile a SQL INSERT and get ID statment from a Query instance.
* Compile a SQL INSERT and get ID stat
e
ment from a Query instance.
*
*
* @param Query $query
* @param Query $query
* @param array $values
* @param array $values
...
...
laravel/database/schema.php
View file @
3b09f99f
...
@@ -90,7 +90,7 @@ class Schema {
...
@@ -90,7 +90,7 @@ class Schema {
{
{
// The implications method is responsible for finding any fluently
// The implications method is responsible for finding any fluently
// defined indexes on the schema table and adding the explicit
// defined indexes on the schema table and adding the explicit
// commands that are needed to t
b
e schema instance.
// commands that are needed to t
h
e schema instance.
static
::
implications
(
$table
);
static
::
implications
(
$table
);
foreach
(
$table
->
commands
as
$command
)
foreach
(
$table
->
commands
as
$command
)
...
...
laravel/database/schema/grammars/mysql.php
View file @
3b09f99f
...
@@ -37,7 +37,7 @@ class MySQL extends Grammar {
...
@@ -37,7 +37,7 @@ class MySQL extends Grammar {
}
}
/**
/**
* Ge
en
rate the SQL statements for a table modification command.
* Ge
ne
rate the SQL statements for a table modification command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -296,7 +296,7 @@ class MySQL extends Grammar {
...
@@ -296,7 +296,7 @@ class MySQL extends Grammar {
}
}
/**
/**
* Generate the SQL statement for a drop un
q
ique key command.
* Generate the SQL statement for a drop unique key command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -365,7 +365,7 @@ class MySQL extends Grammar {
...
@@ -365,7 +365,7 @@ class MySQL extends Grammar {
}
}
/**
/**
* Generate the data-type defini
n
tion for a decimal.
* Generate the data-type definition for a decimal.
*
*
* @param Fluent $column
* @param Fluent $column
* @return string
* @return string
...
...
laravel/database/schema/grammars/postgres.php
View file @
3b09f99f
...
@@ -25,7 +25,7 @@ class Postgres extends Grammar {
...
@@ -25,7 +25,7 @@ class Postgres extends Grammar {
}
}
/**
/**
* Ge
en
rate the SQL statements for a table modification command.
* Ge
ne
rate the SQL statements for a table modification command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -258,7 +258,7 @@ class Postgres extends Grammar {
...
@@ -258,7 +258,7 @@ class Postgres extends Grammar {
}
}
/**
/**
* Generate the SQL statement for a drop un
q
ique key command.
* Generate the SQL statement for a drop unique key command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -351,7 +351,7 @@ class Postgres extends Grammar {
...
@@ -351,7 +351,7 @@ class Postgres extends Grammar {
}
}
/**
/**
* Generate the data-type defini
n
tion for a decimal.
* Generate the data-type definition for a decimal.
*
*
* @param Fluent $column
* @param Fluent $column
* @return string
* @return string
...
...
laravel/database/schema/grammars/sqlite.php
View file @
3b09f99f
...
@@ -43,7 +43,7 @@ class SQLite extends Grammar {
...
@@ -43,7 +43,7 @@ class SQLite extends Grammar {
}
}
/**
/**
* Ge
en
rate the SQL statements for a table modification command.
* Ge
ne
rate the SQL statements for a table modification command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -226,7 +226,7 @@ class SQLite extends Grammar {
...
@@ -226,7 +226,7 @@ class SQLite extends Grammar {
}
}
/**
/**
* Generate the SQL statement for a drop un
q
ique key command.
* Generate the SQL statement for a drop unique key command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -238,7 +238,7 @@ class SQLite extends Grammar {
...
@@ -238,7 +238,7 @@ class SQLite extends Grammar {
}
}
/**
/**
* Generate the SQL statement for a drop un
q
ique key command.
* Generate the SQL statement for a drop unique key command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -295,7 +295,7 @@ class SQLite extends Grammar {
...
@@ -295,7 +295,7 @@ class SQLite extends Grammar {
}
}
/**
/**
* Generate the data-type defini
n
tion for a decimal.
* Generate the data-type definition for a decimal.
*
*
* @param Fluent $column
* @param Fluent $column
* @return string
* @return string
...
...
laravel/database/schema/grammars/sqlserver.php
View file @
3b09f99f
...
@@ -272,7 +272,7 @@ class SQLServer extends Grammar {
...
@@ -272,7 +272,7 @@ class SQLServer extends Grammar {
}
}
/**
/**
* Generate the SQL statement for a drop un
qi
ue key command.
* Generate the SQL statement for a drop un
iq
ue key command.
*
*
* @param Table $table
* @param Table $table
* @param Fluent $command
* @param Fluent $command
...
@@ -369,7 +369,7 @@ class SQLServer extends Grammar {
...
@@ -369,7 +369,7 @@ class SQLServer extends Grammar {
}
}
/**
/**
* Generate the data-type defini
n
tion for a decimal.
* Generate the data-type definition for a decimal.
*
*
* @param Fluent $column
* @param Fluent $column
* @return string
* @return string
...
...
laravel/error.php
View file @
3b09f99f
...
@@ -80,7 +80,7 @@ class Error {
...
@@ -80,7 +80,7 @@ class Error {
*/
*/
public
static
function
shutdown
()
public
static
function
shutdown
()
{
{
// If a fatal error occured that we have not handled yet, we will
// If a fatal error occur
r
ed that we have not handled yet, we will
// create an ErrorException and feed it to the exception handler,
// create an ErrorException and feed it to the exception handler,
// as it will not yet have been handled.
// as it will not yet have been handled.
$error
=
error_get_last
();
$error
=
error_get_last
();
...
...
laravel/file.php
View file @
3b09f99f
...
@@ -296,7 +296,7 @@ class File {
...
@@ -296,7 +296,7 @@ class File {
{
{
// If the item is a directory, we can just recurse into the
// If the item is a directory, we can just recurse into the
// function and delete that sub-directory, otherwise we'll
// function and delete that sub-directory, otherwise we'll
// just dele
e
te the file and keep going!
// just delete the file and keep going!
if
(
$item
->
isDir
())
if
(
$item
->
isDir
())
{
{
static
::
rmdir
(
$item
->
getRealPath
());
static
::
rmdir
(
$item
->
getRealPath
());
...
...
laravel/html.php
View file @
3b09f99f
...
@@ -359,7 +359,7 @@ class HTML {
...
@@ -359,7 +359,7 @@ class HTML {
foreach
((
array
)
$attributes
as
$key
=>
$value
)
foreach
((
array
)
$attributes
as
$key
=>
$value
)
{
{
// For numeric keys, we will assume that the key and the value are the
// For numeric keys, we will assume that the key and the value are the
// same, as this will conver HTML attributes such as "required" that
// same, as this will conver
t
HTML attributes such as "required" that
// may be specified as required="required", etc.
// may be specified as required="required", etc.
if
(
is_numeric
(
$key
))
$key
=
$value
;
if
(
is_numeric
(
$key
))
$key
=
$value
;
...
...
laravel/ioc.php
View file @
3b09f99f
...
@@ -191,7 +191,7 @@ class IoC {
...
@@ -191,7 +191,7 @@ class IoC {
$dependency
=
$parameter
->
getClass
();
$dependency
=
$parameter
->
getClass
();
// If the class is null, it means the dependency is a string or some other
// If the class is null, it means the dependency is a string or some other
// primitive type, which we can not esolve since it is not a class and
// primitive type, which we can not
r
esolve since it is not a class and
// we'll just bomb out with an error since we have nowhere to go.
// we'll just bomb out with an error since we have nowhere to go.
if
(
is_null
(
$dependency
))
if
(
is_null
(
$dependency
))
{
{
...
...
laravel/lang.php
View file @
3b09f99f
...
@@ -134,7 +134,7 @@ class Lang {
...
@@ -134,7 +134,7 @@ class Lang {
$line
=
array_get
(
$lines
,
$line
,
$default
);
$line
=
array_get
(
$lines
,
$line
,
$default
);
// If the line is not a string, it probably means the developer asked for
// If the line is not a string, it probably means the developer asked for
// the entire lang
au
ge file and the value of the requested value will be
// the entire lang
ua
ge file and the value of the requested value will be
// an array containing all of the lines in the file.
// an array containing all of the lines in the file.
if
(
is_string
(
$line
))
if
(
is_string
(
$line
))
{
{
...
...
laravel/laravel.php
View file @
3b09f99f
...
@@ -54,7 +54,7 @@ register_shutdown_function(function()
...
@@ -54,7 +54,7 @@ register_shutdown_function(function()
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| By setting error reporting to -1, we essentially force PHP to report
| By setting error reporting to -1, we essentially force PHP to report
| every error, and this is guranteed to show every error on future
| every error, and this is gu
a
ranteed to show every error on future
| releases of PHP. This allows everything to be fixed early!
| releases of PHP. This allows everything to be fixed early!
|
|
*/
*/
...
@@ -181,7 +181,7 @@ $response->render();
...
@@ -181,7 +181,7 @@ $response->render();
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| If a session driver has been configured, we will save the session to
| If a session driver has been configured, we will save the session to
| storage so it is avaiable for the next request. This will also set
| storage so it is avai
l
able for the next request. This will also set
| the session cookie in the cookie jar to be sent to the user.
| the session cookie in the cookie jar to be sent to the user.
|
|
*/
*/
...
...
laravel/log.php
View file @
3b09f99f
...
@@ -28,7 +28,7 @@ class Log {
...
@@ -28,7 +28,7 @@ class Log {
* Write a message to the log file.
* Write a message to the log file.
*
*
* <code>
* <code>
* // Write an "error" messge to the log file
* // Write an "error" mess
a
ge to the log file
* Log::write('error', 'Something went horribly wrong!');
* Log::write('error', 'Something went horribly wrong!');
*
*
* // Write an "error" message using the class' magic method
* // Write an "error" message using the class' magic method
...
...
laravel/pluralizer.php
View file @
3b09f99f
...
@@ -48,7 +48,7 @@ class Pluralizer {
...
@@ -48,7 +48,7 @@ class Pluralizer {
}
}
// English words may be automatically inflected using regular expressions.
// English words may be automatically inflected using regular expressions.
// If the word is
e
nglish, we'll just pass off the word to the automatic
// If the word is
E
nglish, we'll just pass off the word to the automatic
// inflection method and return the result, which is cached.
// inflection method and return the result, which is cached.
$irregular
=
$this
->
config
[
'irregular'
];
$irregular
=
$this
->
config
[
'irregular'
];
...
@@ -77,7 +77,7 @@ class Pluralizer {
...
@@ -77,7 +77,7 @@ class Pluralizer {
}
}
// English words may be automatically inflected using regular expressions.
// English words may be automatically inflected using regular expressions.
// If the word is
e
nglish, we'll just pass off the word to the automatic
// If the word is
E
nglish, we'll just pass off the word to the automatic
// inflection method and return the result, which is cached.
// inflection method and return the result, which is cached.
$irregular
=
array_flip
(
$this
->
config
[
'irregular'
]);
$irregular
=
array_flip
(
$this
->
config
[
'irregular'
]);
...
...
laravel/redis.php
View file @
3b09f99f
...
@@ -17,7 +17,7 @@ class Redis {
...
@@ -17,7 +17,7 @@ class Redis {
protected
$port
;
protected
$port
;
/**
/**
* The databse number the connection selects on load.
* The datab
a
se number the connection selects on load.
*
*
* @var int
* @var int
*/
*/
...
...
laravel/routing/router.php
View file @
3b09f99f
...
@@ -303,7 +303,7 @@ class Router {
...
@@ -303,7 +303,7 @@ class Router {
{
{
list
(
$bundle
,
$controller
)
=
Bundle
::
parse
(
$identifier
);
list
(
$bundle
,
$controller
)
=
Bundle
::
parse
(
$identifier
);
// First we need to replace the dots with slashes in th
t
e controller name
// First we need to replace the dots with slashes in the controller name
// so that it is in directory format. The dots allow the developer to use
// so that it is in directory format. The dots allow the developer to use
// a cleaner syntax when specifying the controller. We will also grab the
// a cleaner syntax when specifying the controller. We will also grab the
// root URI for the controller's bundle.
// root URI for the controller's bundle.
...
...
laravel/session/drivers/database.php
View file @
3b09f99f
...
@@ -84,7 +84,7 @@ class Database extends Driver implements Sweeper {
...
@@ -84,7 +84,7 @@ class Database extends Driver implements Sweeper {
}
}
/**
/**
* Delete all expired sessions from persist
a
nt storage.
* Delete all expired sessions from persist
e
nt storage.
*
*
* @param int $expiration
* @param int $expiration
* @return void
* @return void
...
...
laravel/session/drivers/driver.php
View file @
3b09f99f
...
@@ -63,7 +63,7 @@ abstract class Driver {
...
@@ -63,7 +63,7 @@ abstract class Driver {
return
Str
::
random
(
40
);
return
Str
::
random
(
40
);
}
}
// We'll cont
a
inue generating random IDs until we find an ID that is
// We'll continue generating random IDs until we find an ID that is
// not currently assigned to a session. This is almost definitely
// not currently assigned to a session. This is almost definitely
// going to happen on the first iteration.
// going to happen on the first iteration.
do
{
do
{
...
...
laravel/session/drivers/file.php
View file @
3b09f99f
...
@@ -64,7 +64,7 @@ class File extends Driver implements Sweeper {
...
@@ -64,7 +64,7 @@ class File extends Driver implements Sweeper {
}
}
/**
/**
* Delete all expired sessions from persist
a
nt storage.
* Delete all expired sessions from persist
e
nt storage.
*
*
* @param int $expiration
* @param int $expiration
* @return void
* @return void
...
...
laravel/session/drivers/sweeper.php
View file @
3b09f99f
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
interface
Sweeper
{
interface
Sweeper
{
/**
/**
* Delete all expired sessions from persist
a
nt storage.
* Delete all expired sessions from persist
e
nt storage.
*
*
* @param int $expiration
* @param int $expiration
* @return void
* @return void
...
...
laravel/session/payload.php
View file @
3b09f99f
...
@@ -71,7 +71,7 @@ class Payload {
...
@@ -71,7 +71,7 @@ class Payload {
}
}
/**
/**
* Deter
e
mine if the session payload instance is valid.
* Determine if the session payload instance is valid.
*
*
* The session is considered valid if it exists and has not expired.
* The session is considered valid if it exists and has not expired.
*
*
...
...
laravel/url.php
View file @
3b09f99f
laravel/validator.php
View file @
3b09f99f
...
@@ -974,7 +974,7 @@ class Validator {
...
@@ -974,7 +974,7 @@ class Validator {
// If no language line has been specified for the attribute, all of
// If no language line has been specified for the attribute, all of
// the underscores are removed from the attribute name and that
// the underscores are removed from the attribute name and that
// will be used as the attrib
tu
e name.
// will be used as the attrib
ut
e name.
else
else
{
{
return
str_replace
(
'_'
,
' '
,
$attribute
);
return
str_replace
(
'_'
,
' '
,
$attribute
);
...
...
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