Skip to content

Commit

Permalink
Use FQN for @throws tag
Browse files Browse the repository at this point in the history
This avoids possible clashes between \InvalidArgumentException and the imported InvalidArgumentException
  • Loading branch information
jeromegamez committed Aug 16, 2016
1 parent 803e9ac commit 391d1ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Firebase.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Firebase\Exception\InvalidArgumentException;
use Firebase\ServiceAccount;
use Firebase\V2;
use Firebase\V3;
Expand All @@ -17,7 +16,7 @@ final class Firebase
* @param string|ServiceAccount $serviceAccount Path to service account JSON config or a ServiceAccount instance
* @param string|UriInterface|null $databaseUri Database URI
*
* @throws InvalidArgumentException
* @throws \Firebase\Exception\InvalidArgumentException
*
* @return V3\Firebase
*/
Expand All @@ -32,7 +31,7 @@ public static function fromServiceAccount($serviceAccount, $databaseUri = null):
* @param string|UriInterface $databaseUri Database URI as a string or an instance of UriInterface
* @param string $secret
*
* @throws InvalidArgumentException
* @throws \Firebase\Exception\InvalidArgumentException
*
* @return V2\Firebase
*/
Expand Down

0 comments on commit 391d1ba

Please sign in to comment.