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 ( 2fe4c0...31af9d )
by De
04:35
created
src/Database.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
      */
48 48
     private $collectionPoolEnabled = true;
49 49
 
50
+    /**
51
+     * @param string $database
52
+     */
50 53
     public function __construct(Client $client, $database) {
51 54
         $this->client = $client;
52 55
 
@@ -137,7 +140,7 @@  discard block
 block discarded – undo
137 140
     /**
138 141
      * Reset specified mapping
139 142
      *
140
-     * @return \Sokil\Mongo\Client
143
+     * @return Database
141 144
      */
142 145
     public function resetMapping()
143 146
     {
@@ -151,7 +154,7 @@  discard block
 block discarded – undo
151 154
      *
152 155
      * @param string|array                  $name               collection name or array like [collectionName => collectionClass, ...]
153 156
      * @param string|array|Definition|null  $classDefinition    if $name is string, then full class name or array with parameters, else omitted
154
-     * @return \Sokil\Mongo\Client
157
+     * @return Database
155 158
      */
156 159
     public function map($name, $classDefinition = null)
157 160
     {
@@ -213,7 +216,7 @@  discard block
 block discarded – undo
213 216
      * @param string        $name               name of collection
214 217
      * @param array         $defaultDefinition  definition used when no definition found for defined class
215 218
      * @throws Exception
216
-     * @return string|array                     name of class or array of class definition
219
+     * @return string                     name of class or array of class definition
217 220
      */
218 221
     private function getCollectionDefinition($name, array $defaultDefinition = null)
219 222
     {
Please login to merge, or discard this patch.