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
FIxes `php artisan key:generate` failed due to used of hardcoded app path config.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #5505 from crynobone/patch/generate-key

[4.3] Fixes `php artisan key:generate` failed due to used of hardcoded app path config.
fine, a one liner then.

;)
Tweak namespace setting.
Fix controller namespace.