Added some unit tests for quiqkRandom and random methods in  SupportStrTest.php  #5381
Corrected a docblock
Fixed wrong @return type.
Update route helper to match URL::route

This updates the `route` helper to accept the same arguments as the function it calls.
fix for forgetMiddleware function 

forgetMiddleware function was checking an object against a (string) class name so it would never match and remove the middleware.
Added unit test for __construct method of MessageBag class.
Remove Illuminate\Events\Subscriber as it was only used during pre-4.0

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #5473 from fzahabian/4.2

fix for forgetMiddleware function
Merge pull request #5463 from benti/4.2

Fixed wrong @return type.
Fix an error in Collection->random()

Fix an error on random() if called on an empty collection. Returns null instead.
Merge pull request #5323 from GrahamCampbell/4.2-morph

[4.2] Corrected A Docblock
Dockblock fix
Change syntax of empty check in Collection->random()
Add test to collection->random() when collection is empty
Set index name of morph relation

The index name auto generated index name can become long and with this method it can be overridden
fine, a one liner then.

;)
Update build scripts.
Extract getClassName method

Make it easier to customize the migration naming schema.
Extract registerCreator method

Make it easier to register a custom creator.
Conditionally set logger and queue on mailer

Possible since https://github.com/laravel/framework/pull/4648