Completed
Push — master ( b9bf6f...df138e )
by Joe
03:35
created
src/PHPushbullet.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -48,6 +48,9 @@  discard block
 block discarded – undo
48 48
      */
49 49
     protected $all_devices = [];
50 50
 
51
+    /**
52
+     * @param string $access_token
53
+     */
51 54
     public function __construct($access_token = null, Connection $connection =  null)
52 55
     {
53 56
         $access_token = $access_token ?: getenv('pushbullet.access_token');
@@ -225,6 +228,9 @@  discard block
 block discarded – undo
225 228
         return $args;
226 229
     }
227 230
 
231
+    /**
232
+     * @param \Psr\Http\Message\ResponseInterface $response
233
+     */
228 234
     protected function fromJson($response)
229 235
     {
230 236
         return json_decode((string) $response->getBody(), true);
Please login to merge, or discard this patch.
tests/base/PHPushbulletTestBase.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@
 block discarded – undo
92 92
         return array_merge($vars, $standard);
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $type
97
+     */
95 98
     protected function getDevice($type)
96 99
     {
97 100
         $devices = [
Please login to merge, or discard this patch.