Explorar o código

Merge pull request #893 from Adel-E/patch-2

Fix phpdocs
Jordi Boggiano %!s(int64=12) %!d(string=hai) anos
pai
achega
6a8be06dcf
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/Composer/Json/JsonFile.php

+ 5 - 2
src/Composer/Json/JsonFile.php

@@ -40,8 +40,8 @@ class JsonFile
     /**
      * Initializes json file reader/parser.
      *
-     * @param string           $lockFile path to a lockfile
-     * @param RemoteFilesystem $rfs      required for loading http/https json files
+     * @param string           $path path to a lockfile
+     * @param RemoteFilesystem $rfs  required for loading http/https json files
      */
     public function __construct($path, RemoteFilesystem $rfs = null)
     {
@@ -53,6 +53,9 @@ class JsonFile
         $this->rfs = $rfs;
     }
 
+    /**
+     * @return string
+     */
     public function getPath()
     {
         return $this->path;