Update Validator.php

Typo on phpDoc
Update Factory.php

Typo on phpDOC
Merge pull request #1453 from T3chn0crat/patch-2

Update Factory.php
Merge pull request #1452 from T3chn0crat/patch-1

Update Validator.php
Fix how cache manager is passed to connection.
Merge branch '4.0'
Fix PHP 5.4 syntax.
Merge branch '4.0'
Strip comments from optimized file.
Merge branch '4.0'
MessageBag instance was not being returned (Updated)

Calling getMessageBag(), errors(), or messages() was not returning an instance if passes() or fails() was not first called. This way these function will always return a MessageBag instance regardless.

Adhered to L4 syntax standards. Removed the line from getMessageBag() as it wasn't need because it calls messages() anyways.

Thank you so much!
Merge pull request #1477 from shrimpwagon/master

MessageBag instance was not being returned (Updated)
make connection on optional.
Merge branch '4.0'
Merge branch 'master' of github.com:laravel/framework
encrypt messages pushed onto iron.io. fixes #1469.
Merge branch '4.0'
IronConnector.php Error Argument 1 passed to Illuminate\Queue\Connectors\IronConnector::__construct() must be an instance of Illuminate\Encryption\Encrypter, instance of Illuminate\Http\Request

When using Iron.io as a queue and run php artisan queue:subscribe we get this error. 8

Problem seems to be in line 208 of

framework / src / Illuminate / Queue / QueueServiceProvider.php

(ie https://github.com/laravel/framework/blob/master/src/Illuminate/Queue/QueueServiceProvider.php#L208 )

Which is:

return new IronConnector($app['request']);

But should be:

return new IronConnector($app['encrypter'], $app['request']);
Merge pull request #1487 from incitonetworks/patch-2

IronConnector.php Error Argument 1 passed to Illuminate\Queue\Connectors...
fix paginator "from" to return 0 if the total is 0