Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Apr 16, 2014
1 parent 06f6e86 commit 7172f42
Show file tree
Hide file tree
Showing 22 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ This page contains guidelines for contributing to the Laravel framework. Please

The pull request process differs for new features and bugs. Before sending a pull request for a new feature, you should first create an issue with `[Proposal]` in the title. The proposal should describe the new feature, as well as implementation ideas. The proposal will then be reviewed and either approved or denied. Once a proposal is approved, a pull request may be created implementing the new feature. Pull requests which do not follow this guideline will be closed immediately.

Pull requests for bugs may be sent without creating any proposal issue. If you believe that you know of a solution for a bug that has been filed on Github, please leave a comment detailing your proposed fix.
Pull requests for bugs may be sent without creating any proposal issue. If you believe that you know of a solution for a bug that has been filed on GitHub, please leave a comment detailing your proposed fix.

### Feature Requests

If you have an idea for a new feature you would like to see added to Laravel, you may create an issue on Github with `[Request]` in the title. The feature request will then be reviewed by a core contributor.
If you have an idea for a new feature you would like to see added to Laravel, you may create an issue on GitHub with `[Request]` in the title. The feature request will then be reviewed by a core contributor.

## Coding Guidelines

Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Config/FileEnvironmentVariablesLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class FileEnvironmentVariablesLoader implements EnvironmentVariablesLoaderInterf
/**
* Create a new file environment loader instance.
*
* @param \Illumiante\Filesystem\Filesystem $files
* @param \Illuminate\Filesystem\Filesystem $files
* @return void
*/
public function __construct(Filesystem $files, $path = null)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Connection implements ConnectionInterface {
protected $fetchMode = PDO::FETCH_ASSOC;

/**
* The number of active transasctions.
* The number of active transactions.
*
* @var int
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Connectors/SQLiteConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function connect(array $config)

$path = realpath($config['database']);

// Here we'll verify that the SQLite database exists before we gooing further
// Here we'll verify that the SQLite database exists before we going further
// as the developer probably wants to know if the database exists and this
// SQLite driver will not throw any exception if it does not by default.
if ($path === false)
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ public function belongsTo($related, $foreignKey = null, $otherKey = null, $relat
{
// If no relation name was given, we will use this debug backtrace to extract
// the calling method's name and use that as the relationship name as most
// of the time this will be what we desire to use for the relatinoships.
// of the time this will be what we desire to use for the relationships.
if (is_null($relation))
{
list(, $caller) = debug_backtrace(false);
Expand Down Expand Up @@ -745,7 +745,7 @@ public function morphTo($name = null, $type = null, $id = null)
);
}

// If we are not eager loading the relatinship, we will essentially treat this
// If we are not eager loading the relationship, we will essentially treat this
// as a belongs-to style relationship since morph-to extends that class and
// we will pass in the appropriate values so that it behaves as expected.
else
Expand Down Expand Up @@ -1337,7 +1337,7 @@ public function push()

// To sync all of the relationships to the database, we will simply spin through
// the relationships and save each model via this "push" method, which allows
// us to recurse into all of these nested relations for the model instance.
// us to recurs into all of these nested relations for the model instance.
foreach ($this->relations as $models)
{
foreach (Collection::make($models) as $model)
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Database/Eloquent/Relations/BelongsToMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ protected function createAttachRecord($id, $timed)
}

/**
* Set the creation and update timstamps on an attach record.
* Set the creation and update timestamps on an attach record.
*
* @param array $record
* @param bool $exists
Expand Down Expand Up @@ -965,7 +965,7 @@ public function getRelatedFreshUpdate()
}

/**
* Get the key for comparing against the pareny key in "has" query.
* Get the key for comparing against the parent key in "has" query.
*
* @return string
*/
Expand Down Expand Up @@ -995,7 +995,7 @@ public function getOtherKey()
}

/**
* Get the fully qualified parent key naem.
* Get the fully qualified parent key name.
*
* @return string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ protected function getQualifiedParentKeyName()
}

/**
* Get the key for comparing against the pareny key in "has" query.
* Get the key for comparing against the parent key in "has" query.
*
* @return string
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Eloquent/Relations/HasOneOrMany.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public function update(array $attributes)
}

/**
* Get the key for comparing against the pareny key in "has" query.
* Get the key for comparing against the parent key in "has" query.
*
* @return string
*/
Expand Down Expand Up @@ -282,7 +282,7 @@ public function getParentKey()
}

/**
* Get the fully qualified parent key naem.
* Get the fully qualified parent key name.
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/MorphTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function addEagerConstraints(array $models)
}

/**
* Buiild a dictionary with the models.
* Build a dictionary with the models.
*
* @param \Illuminate\Database\Eloquent\Models $models
* @return void
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/Relation.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function getParent()
}

/**
* Get the fully qualified parent key naem.
* Get the fully qualified parent key name.
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Migrations/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function run($path, $pretend = false)

// Once we grab all of the migration files for the path, we will compare them
// against the migrations that have already been run for this package then
// run all of the oustanding migrations against the database connection.
// run all of the outstanding migrations against the database connection.
$ran = $this->repository->getRan();

$migrations = array_diff($files, $ran);
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public function register($provider, $options = array(), $force = false)
}

/**
* Get the registered service provider instnace if it exists.
* Get the registered service provider instance if it exists.
*
* @param \Illuminate\Support\ServiceProvider|string $provider
* @return \Illuminate\Support\ServiceProvider|null
Expand Down Expand Up @@ -418,7 +418,7 @@ protected function loadDeferredProvider($service)
}

/**
* Register a deffered provider and service.
* Register a deferred provider and service.
*
* @param string $provider
* @param string $service
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/EnvironmentDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected function detectConsoleEnvironment($environments, array $args)
}

/**
* Get the enviornment argument from the console.
* Get the environment argument from the console.
*
* @param array $args
* @return string|null
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function exists($key)
}

/**
* Determine if the request contains a non-emtpy value for an input item.
* Determine if the request contains a non-empty value for an input item.
*
* @param string|array $key
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Console/MakeControllerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ protected function generateController()

// Finally, we're ready to generate the actual controller file on disk and let
// the developer start using it. The controller will be stored in the right
// place based on the naemspace of this controller specified by commands.
// place based on the namespace of this controller specified by commands.
$this->generator->make($controller, $path, $options);

$this->info('Controller created successfully!');
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Routing/ControllerDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function filterApplies($filter, $request, $method)
}

/**
* Determine if the filter fails the "only" cosntraint.
* Determine if the filter fails the "only" constraint.
*
* @param array $filter
* @param \Illuminate\Http\Request $request
Expand All @@ -189,7 +189,7 @@ protected function filterFailsOnly($filter, $request, $method)
}

/**
* Determine if the filter fails the "except" cosntraint.
* Determine if the filter fails the "except" constraint.
*
* @param array $filter
* @param \Illuminate\Http\Request $request
Expand All @@ -204,7 +204,7 @@ protected function filterFailsExcept($filter, $request, $method)
}

/**
* Determine if the filter fails the "on" cosntraint.
* Determine if the filter fails the "on" constraint.
*
* @param array $filter
* @param \Illuminate\Http\Request $request
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Generators/ControllerGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function getController($controller)
{
$stub = $this->files->get(__DIR__.'/stubs/controller.stub');

// We will explode out the controller name on the naemspace delimiter so we
// We will explode out the controller name on the namespace delimiter so we
// are able to replace a namespace in this stub file. If no namespace is
// provided we'll just clear out the namespace place-holder locations.
$segments = explode('\\', $controller);
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ protected function get($method = null)
}

/**
* Deterine if the route collection contains a given named route.
* Determine if the route collection contains a given named route.
*
* @param string $name
* @return bool
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class Router implements HttpKernelInterface, RouteFiltererInterface {
protected $regexFilters = array();

/**
* The reigstered route value binders.
* The registered route value binders.
*
* @var array
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Routing/UrlGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ protected function getRouteQueryString(array $parameters)

// Lastly, if there are still parameters remaining, we will fetch the numeric
// parameters that are in the array and add them to the query string or we
// will build the intial query string if it wasn't started with strings.
// will build the initial query string if it wasn't started with strings.
if (count($keyed) < count($parameters))
{
$query .= '&'.implode(
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function render(Closure $callback = null)

// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// anothoer view is rendered in the future by the application developers.
// another view is rendered in the future by the application developers.
$this->environment->flushSectionsIfDoneRendering();

return $response ?: $contents;
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Workbench/PackageCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected function writeSupportDirectory(Package $package, $support, $directory)
{
// Once we create the source directory, we will write an empty file to the
// directory so that it will be kept in source control allowing the dev
// to go ahead and push these components to Github right on creation.
// to go ahead and push these components to GitHub right on creation.
$path = $directory.'/src/'.$support;

$this->files->makeDirectory($path, 0777, true);
Expand Down

0 comments on commit 7172f42

Please sign in to comment.