Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Throw exception on invalid types passed to
transport()
.
This also avoids notices and warnings because of the `$transport` variable not being defined in case of an unhandled type.
- Loading branch information
ndm2
committed
Oct 15, 2014
1 parent
8397573
commit 07adfa1
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters