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
a675b052
Commit
a675b052
authored
Nov 21, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing some commits i accidently overwrote.
parent
994949c6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
laravel/autoloader.php
+2
-2
laravel/validator.php
+5
-5
No files found.
laravel/autoloader.php
View file @
a675b052
...
...
@@ -53,8 +53,8 @@ class Autoloader {
protected
static
function
find
(
$class
)
{
// After PHP namespaces were introduced, most libaries ditched underscores for
//
for namespaces to indicate the class directory hierarchy. We will check for
//
the
presence of namespace slashes to determine the directory separator.
//
namespaces to indicate the class directory hierarchy. We will check for the
// presence of namespace slashes to determine the directory separator.
$separator
=
(
strpos
(
$class
,
'\\'
)
!==
false
)
?
'\\'
:
'_'
;
$library
=
substr
(
$class
,
0
,
strpos
(
$class
,
$separator
));
...
...
laravel/validator.php
View file @
a675b052
...
...
@@ -394,7 +394,7 @@ class Validator {
}
/**
* Validate tha
n
an attribute is a valid e-mail address.
* Validate tha
t
an attribute is a valid e-mail address.
*
* @param string $attribute
* @param mixed $value
...
...
@@ -406,7 +406,7 @@ class Validator {
}
/**
* Validate tha
n
an attribute is a valid URL.
* Validate tha
t
an attribute is a valid URL.
*
* @param string $attribute
* @param mixed $value
...
...
@@ -444,7 +444,7 @@ class Validator {
}
/**
* Validate tha
n
an attribute contains only alphabetic characters.
* Validate tha
t
an attribute contains only alphabetic characters.
*
* @param string $attribute
* @param mixed $value
...
...
@@ -456,7 +456,7 @@ class Validator {
}
/**
* Validate tha
n
an attribute contains only alpha-numeric characters.
* Validate tha
t
an attribute contains only alpha-numeric characters.
*
* @param string $attribute
* @param mixed $value
...
...
@@ -468,7 +468,7 @@ class Validator {
}
/**
* Validate tha
n
an attribute contains only alpha-numeric characters, dashes, and underscores.
* Validate tha
t
an attribute contains only alpha-numeric characters, dashes, and underscores.
*
* @param string $attribute
* @param mixed $value
...
...
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