diff --git a/src/Resources/Basics/Entity.php b/src/Resources/Basics/Entity.php index 7c4ca12..b57a7aa 100644 --- a/src/Resources/Basics/Entity.php +++ b/src/Resources/Basics/Entity.php @@ -22,7 +22,7 @@ abstract class Entity extends Resource /** * List the resource associated emails. * - * @param $id + * @param int $id * @param array $options * @return Response */ @@ -36,8 +36,8 @@ public function emails($id, $options = []) /** * Add a follower to a resource. * - * @param $id - * @param $user_id + * @param int $id + * @param int $user_id * @return Response */ public function addFollower($id, $user_id) @@ -48,8 +48,8 @@ public function addFollower($id, $user_id) /** * Delete a follower from a resource. * - * @param $id - * @param $follower_id + * @param int $id + * @param int $follower_id * @return Response */ public function deleteFollower($id, $follower_id) @@ -60,8 +60,8 @@ public function deleteFollower($id, $follower_id) /** * Merge a resource with another. * - * @param $id - * @param $merge_with_id + * @param int $id + * @param int $merge_with_id * @return Response */ public function merge($id, $merge_with_id) diff --git a/src/Resources/Basics/Resource.php b/src/Resources/Basics/Resource.php index 8844e5c..6a9f8dd 100644 --- a/src/Resources/Basics/Resource.php +++ b/src/Resources/Basics/Resource.php @@ -89,7 +89,7 @@ public function add(array $values) /** * Update an entity by ID. * - * @param $id + * @param int $id * @param array $values * @return Response */ @@ -103,7 +103,7 @@ public function update($id, array $values) /** * Delete an entity by ID. * - * @param $id + * @param int $id * @return Response */ public function delete($id) @@ -137,7 +137,7 @@ public function getName() /** * Check if the method is enabled for use. * - * @param $method + * @param string $method * @return bool */ public function isEnabled($method) @@ -146,8 +146,8 @@ public function isEnabled($method) return false; } - // First we will make sure the method only belongs to this abtract class - // as this does not have to interfiere with methods described in child + // First we will make sure the method only belongs to this abstract class + // as this does not have to interfere with methods described in child // classes. We can now check if it is found in the enabled property. if (! in_array($method, get_class_methods(get_class()))) { return true; @@ -159,7 +159,7 @@ public function isEnabled($method) /** * Check if the method is disabled for use. * - * @param $method + * @param string $method * @return bool */ public function isDisabled($method) @@ -208,8 +208,8 @@ public function setDisabled($disabled) /** * Magic method call. * - * @param $method - * @param array $args + * @param string $method + * @param array $args * @return void * @throws PipedriveException */