Completed
Pull Request — master (#286)
by thomas
04:30
created
src/Address/AddressFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use BitWasp\Bitcoin\Network\NetworkInterface;
9 9
 use BitWasp\Bitcoin\Script\Classifier\OutputClassifier;
10 10
 use BitWasp\Bitcoin\Script\ScriptInterface;
11
-
12 11
 use BitWasp\Bitcoin\Key\PublicKeyFactory;
13 12
 use BitWasp\Buffertools\Buffer;
14 13
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
     /**
84 84
      * @param string $address
85 85
      * @param NetworkInterface $network
86
-     * @return AddressInterface
86
+     * @return boolean
87 87
      * @throws \BitWasp\Bitcoin\Exceptions\Base58ChecksumFailure
88 88
      */
89 89
     public static function isValidAddress($address, NetworkInterface $network = null)
Please login to merge, or discard this patch.
src/Script/Classifier/OutputClassifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param ScriptInterface $script
48
-     * @param null $pubKeyHash
48
+     * @param BufferInterface|null $pubKeyHash
49 49
      * @return bool
50 50
      */
51 51
     public function isPayToPublicKeyHash(ScriptInterface $script, & $pubKeyHash = null)
Please login to merge, or discard this patch.