diff --git a/README.md b/README.md index 901cb0bb..e347dc49 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ ParseClient::setCAFile(__DIR__ . '/certs/cacert.pem'); We highly recommend you read through the [guide](http://docs.parseplatform.org/php/guide/) first. This will walk you through the basics of working with this sdk, as well as provide insight into how to best develop your project. -If want to know more about what makes the php sdk tick you can read our [API Reference](http://parseplatform.org/parse-php-sdk/namespaces/Parse.html) and flip through the code on [github](https://github.com/parse-community/parse-php-sdk/). +If want to know more about what makes the php sdk tick you can read our [API Reference](http://parseplatform.org/parse-php-sdk/namespaces/parse.html) and flip through the code on [github](https://github.com/parse-community/parse-php-sdk/). Check out the [Parse PHP Guide] for the full documentation. diff --git a/package.json b/package.json index 7e232045..49584af1 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "prestart": "MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredTiger mongodb-runner start", "start": "TESTING=1 node ./tests/server.js &", "server-only": "TESTING=1 node ./tests/server.js", - "document-check": "./vendor/bin/phpdoc -d ./src/ --template='responsive-twig'", - "document": "./vendor/bin/phpdoc -d ./src/ --title 'Parse PHP SDK API Reference' --template='responsive-twig'" + "document-check": "./vendor/bin/phpdoc -d ./src/ --template='default'", + "document": "./vendor/bin/phpdoc -d ./src/ --title 'Parse PHP SDK API Reference' --template='default'" }, "type": "module", "repository": { @@ -18,7 +18,7 @@ "url": "git+https://github.com/parse-community/parse-php-sdk" }, "license": "BSD-3-Clause", - "homepage": "https://github.com/montymxb/parse-server-test#readme", + "homepage": "https://parseplatform.org", "devDependencies": { "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "9.0.2", diff --git a/src/Parse/ParseBytes.php b/src/Parse/ParseBytes.php index d0ccf0aa..d3f18be0 100644 --- a/src/Parse/ParseBytes.php +++ b/src/Parse/ParseBytes.php @@ -55,7 +55,7 @@ public static function createFromBase64Data($base64Data) /** * Decodes and unpacks a given base64 encoded array of data * - * @param $base64Data + * @param string $base64Data */ private function setBase64Data($base64Data) { diff --git a/src/Parse/ParseFile.php b/src/Parse/ParseFile.php index 2c528501..4bf66039 100644 --- a/src/Parse/ParseFile.php +++ b/src/Parse/ParseFile.php @@ -164,8 +164,8 @@ public static function createFromFile($path, $name, $mimeType = null) /** * Internal method used when constructing a Parse File from Parse. * - * @param $name - * @param $url + * @param string $name + * @param string $url * * @return ParseFile */ diff --git a/src/Parse/ParseGeoPoint.php b/src/Parse/ParseGeoPoint.php index 50a8ca8e..2ddc8cce 100755 --- a/src/Parse/ParseGeoPoint.php +++ b/src/Parse/ParseGeoPoint.php @@ -54,7 +54,7 @@ public function getLatitude() /** * Set the Latitude value for this GeoPoint. * - * @param $lat + * @param float $lat * * @throws ParseException */ @@ -82,7 +82,7 @@ public function getLongitude() /** * Set the Longitude value for this GeoPoint. * - * @param $lon + * @param float $lon * * @throws ParseException */ diff --git a/src/Parse/ParseObject.php b/src/Parse/ParseObject.php index 8ee0a5ee..6345bba9 100644 --- a/src/Parse/ParseObject.php +++ b/src/Parse/ParseObject.php @@ -1548,7 +1548,7 @@ public static function _unregisterSubclass() /** * Check whether there is a subclass registered for a given parse class. * - * @param $parseClassName + * @param string $parseClassName * * @return bool */ @@ -1561,7 +1561,7 @@ public static function hasRegisteredSubclass($parseClassName) * Get the registered subclass for a Parse class, or a generic ParseObject * if no subclass is registered. * - * @param $parseClassName + * @param string $parseClassName * * @return ParseObject */ diff --git a/src/Parse/ParseRelation.php b/src/Parse/ParseRelation.php index a881d099..2867c54a 100644 --- a/src/Parse/ParseRelation.php +++ b/src/Parse/ParseRelation.php @@ -95,7 +95,7 @@ public function getTargetClass() /** * Set the target classname for the relation. * - * @param $className + * @param string $className */ public function setTargetClass($className) { @@ -105,7 +105,7 @@ public function setTargetClass($className) /** * Set the parent object for the relation. * - * @param $parent + * @param ParseObject $parent */ public function setParent($parent) {