GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( a1864b...adecf6 )
by Roderik
02:19
created
src/be/kunstmaan/multichain/MultichainHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
      * @param $assetTxId
20 20
      * @return bool
21 21
      */
22
-    public function isAssetAvailable($assetTxId){
22
+    public function isAssetAvailable($assetTxId) {
23 23
         $assetInfo = $this->getAssetInfoFromTxId($assetTxId);
24 24
         return !is_null($assetInfo["assetref"]);
25 25
     }
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @param $assetTxId
29 29
      */
30
-    public function waitForAssetAvailability($assetTxId){
31
-        while (!$this->isAssetAvailable($assetTxId)){
30
+    public function waitForAssetAvailability($assetTxId) {
31
+        while (!$this->isAssetAvailable($assetTxId)) {
32 32
             sleep(1);
33 33
         }
34 34
     }
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      * @param $assetTxId
38 38
      * @return mixed
39 39
      */
40
-    public function getAssetInfoFromTxId($assetTxId){
40
+    public function getAssetInfoFromTxId($assetTxId) {
41 41
         $assetInfo = $this->multichain->listAssets($assetTxId);
42 42
         return $assetInfo[0];
43 43
     }
Please login to merge, or discard this patch.
src/be/kunstmaan/multichain/MultichainClient.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     public function setDebug($debug)
58 58
     {
59 59
         $this->debug = $debug;
60
-        if($debug){
60
+        if ($debug) {
61 61
             $this->jsonRPCClient->getHttpClient()->withDebug();
62 62
         }
63 63
         return $this;
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * @param $address
123 123
      * @return mixed
124 124
      */
125
-    public function dumpPrivateKey($address){
125
+    public function dumpPrivateKey($address) {
126 126
         return $this->jsonRPCClient->execute("dumpprivkey", array($address));
127 127
     }
128 128
 
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @param bool $rescan
137 137
      * @return mixed
138 138
      */
139
-    public function importPrivateKey($privkey, $label="", $rescan=true){
139
+    public function importPrivateKey($privkey, $label = "", $rescan = true) {
140 140
         return $this->jsonRPCClient->execute("importprivkey", array($privkey, $label, $rescan));
141 141
     }
142 142
 
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
      * @param bool $open
427 427
      * @return mixed
428 428
      */
429
-    public function issue($address, $name, $qty, $units = 1, $nativeAmount = 0, $custom = null, $open=false)
429
+    public function issue($address, $name, $qty, $units = 1, $nativeAmount = 0, $custom = null, $open = false)
430 430
     {
431 431
         $params = array($address, array('name'=>$name, 'open'=>$open), $qty, $units, $nativeAmount);
432 432
         if (!is_null($custom)) {
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
      * @param null $custom
450 450
      * @return mixed
451 451
      */
452
-    public function issueMore($address, $asset, $qty, $nativeAmount=0, $custom = null){
452
+    public function issueMore($address, $asset, $qty, $nativeAmount = 0, $custom = null) {
453 453
         $params = array($address, $asset, $qty, $nativeAmount);
454 454
         if (!is_null($custom)) {
455 455
             $params[] = $custom;
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * transaction can then be signed and transmitted to the network using signrawtransaction and sendrawtransaction.
196 196
      *
197 197
      * @param $txHex
198
-     * @param $dataHex
198
+     * @param string $dataHex
199 199
      * @return mixed
200 200
      */
201 201
     public function appendRawMetadata($txHex, $dataHex)
@@ -418,8 +418,8 @@  discard block
 block discarded – undo
418 418
      * using the native-amount parameter.
419 419
      *
420 420
      * @param $address
421
-     * @param $name
422
-     * @param $qty
421
+     * @param string $name
422
+     * @param integer $qty
423 423
      * @param int $units
424 424
      * @param int $nativeAmount
425 425
      * @param null $custom
Please login to merge, or discard this patch.