Skip to content

Commit

Permalink
Merge pull request #42 from lucasmichot/feature/master/typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
chrissm79 authored Apr 23, 2017
2 parents 10407c7 + 7c8eb74 commit 8f01bce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Schema/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public function middleware($middlewares)
{
$middlewares = is_array($middlewares) ? $middlewares : [$middlewares];

foreach ($middlewares as $middlware) {
$this->attachMiddleware($middlware);
foreach ($middlewares as $middleware) {
$this->attachMiddleware($middleware);
}

return $this;
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Generators/ConnectionGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ConnectionGenerator
];

/**
* Colleciton of connections.
* Collection of connections.
*
* @var \Illuminate\Support\Collection
*/
Expand Down

0 comments on commit 8f01bce

Please sign in to comment.