Skip to content

Commit

Permalink
fixed missing backslash in return type of the docblock to avoid error…
Browse files Browse the repository at this point in the history
…s during static code analysis
  • Loading branch information
mbrueggemann committed Dec 10, 2019
1 parent bdf8bea commit ebeada0
Show file tree
Hide file tree
Showing 7 changed files with 49 additions and 49 deletions.
42 changes: 21 additions & 21 deletions src/Api/Benefits.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Benefits extends AbstractApi
*
* @param string $benefitCoverageId [Optional]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitCoverages($benefitCoverageId = null)
{
Expand All @@ -29,7 +29,7 @@ public function getBenefitCoverages($benefitCoverageId = null)
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getEmployeeDependents($employeeId = null)
{
Expand All @@ -44,7 +44,7 @@ public function getEmployeeDependents($employeeId = null)
* @param string $dependentId
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function updateEmployeeDependent($dependentId, $data = array())
{
Expand All @@ -56,7 +56,7 @@ public function updateEmployeeDependent($dependentId, $data = array())
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addEmployeeDependent($data)
{
Expand All @@ -68,7 +68,7 @@ public function addEmployeeDependent($data)
*
* @param string $planId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitPlans($planId = null)
{
Expand All @@ -83,7 +83,7 @@ public function getBenefitPlans($planId = null)
* @param string $planId
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function updateBenefitPlan($planId, $data)
{
Expand All @@ -95,7 +95,7 @@ public function updateBenefitPlan($planId, $data)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addBenefitPlan($data)
{
Expand All @@ -107,7 +107,7 @@ public function addBenefitPlan($data)
*
* @param string $id [Optional]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitPlanCoverages($id)
{
Expand All @@ -122,7 +122,7 @@ public function getBenefitPlanCoverages($id)
* @param string $id
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function updateBenefitPlanCoverage($id, $data)
{
Expand All @@ -145,7 +145,7 @@ public function addBenefitPlanCoverage($data)
*
* @param string $id
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitGroup($id = null)
{
Expand All @@ -160,7 +160,7 @@ public function getBenefitGroup($id = null)
* @param string $id
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function updateBenefitGroup($id, $data)
{
Expand All @@ -172,7 +172,7 @@ public function updateBenefitGroup($id, $data)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addBenefitGroup($data)
{
Expand All @@ -184,7 +184,7 @@ public function addBenefitGroup($data)
*
* @param string $id [Optional]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitGroupEmployees($id = null)
{
Expand All @@ -198,7 +198,7 @@ public function getBenefitGroupEmployees($id = null)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addBenefitGroupEmployee($data)
{
Expand All @@ -210,7 +210,7 @@ public function addBenefitGroupEmployee($data)
*
* @param string $id [Optional]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitGroupPlans($id)
{
Expand All @@ -224,7 +224,7 @@ public function getBenefitGroupPlans($id)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addBenefitGroupPlan($data)
{
Expand All @@ -236,7 +236,7 @@ public function addBenefitGroupPlan($data)
*
* @param string $id
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitGroupPlanCosts($id = null)
{
Expand All @@ -250,7 +250,7 @@ public function getBenefitGroupPlanCosts($id = null)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addBenefitGroupPlanCost($data)
{
Expand All @@ -263,7 +263,7 @@ public function addBenefitGroupPlanCost($data)
* @param string $planId
* @param string $employeeId [Optional]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getEmployeeDeductionsByBenefitPlan($planId, $employeeId = null)
{
Expand All @@ -275,7 +275,7 @@ public function getEmployeeDeductionsByBenefitPlan($planId, $employeeId = null)
*
* @param string $id Employee ID
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getPlanDeductionsByEmployee($id)
{
Expand All @@ -287,7 +287,7 @@ public function getPlanDeductionsByEmployee($id)
*
* @param string $id
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getBenefitDeductionsForEmployee($id)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Api/Company.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Company extends AbstractApi
/**
* Get a list of files and categories associated with the company
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function files()
{
Expand All @@ -20,7 +20,7 @@ public function files()
*
* @param string $category
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addFileCategory($category)
{
Expand All @@ -35,7 +35,7 @@ public function addFileCategory($category)
* @param string $fileId
* @param array $data ['name' => string, 'categoryId' => integer, 'shareWithEmployee' => 'yes|no']
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function updateFile($fileId, array $data)
{
Expand Down Expand Up @@ -63,7 +63,7 @@ public function updateFile($fileId, array $data)
*
* @param string $fileId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function deleteFile($fileId)
{
Expand All @@ -75,7 +75,7 @@ public function deleteFile($fileId)
*
* @param string $fileId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function downloadFile($fileId)
{
Expand All @@ -87,7 +87,7 @@ public function downloadFile($fileId)
*
* @param array $data
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function uploadFile(array $data)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Api/Employees.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function uploadFile($id, array $data)
*
* @param array $data [[_employee_], ...]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function import(array $data)
{
Expand Down
14 changes: 7 additions & 7 deletions src/Api/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Metadata extends AbstractApi
/**
* Get a list of fields
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function fields()
{
Expand All @@ -23,7 +23,7 @@ public function fields()
/**
* Get a list of tabular fields
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function tables()
{
Expand All @@ -33,7 +33,7 @@ public function tables()
/**
* Get the details for "list" fields
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function lists()
{
Expand All @@ -46,7 +46,7 @@ public function lists()
* @param string $listId
* @param array $options [['id' => string (optional), 'archived' => 'yes|no' (optional), 'value' => string (required)], ...]
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addEditList($listId, array $options)
{
Expand Down Expand Up @@ -74,7 +74,7 @@ public function addEditList($listId, array $options)
/**
* Get a list of time off types
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function timeOffTypes()
{
Expand All @@ -84,7 +84,7 @@ public function timeOffTypes()
/**
* Get a list of time off policies
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function timeOffPolicies()
{
Expand All @@ -94,7 +94,7 @@ public function timeOffPolicies()
/**
* Get a list of users
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function users()
{
Expand Down
18 changes: 9 additions & 9 deletions src/Api/Payroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function addDirectDeposit($employeeId, $ddInfo = array())
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getDirectDeposit($employeeId)
{
Expand All @@ -80,7 +80,7 @@ public function getDirectDeposit($employeeId)
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function clearDirectDeposit($employeeId)
{
Expand All @@ -93,7 +93,7 @@ public function clearDirectDeposit($employeeId)
* @param string $employeeId
* @param array $stubs
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addUnpaidPayStubs($employeeId, $stubs = array())
{
Expand All @@ -105,7 +105,7 @@ public function addUnpaidPayStubs($employeeId, $stubs = array())
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getUnpaidPayStubs($employeeId)
{
Expand All @@ -117,7 +117,7 @@ public function getUnpaidPayStubs($employeeId)
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function clearUnpaidPayStubs($employeeId)
{
Expand All @@ -130,7 +130,7 @@ public function clearUnpaidPayStubs($employeeId)
* @param string $employeeId
* @param array $stub
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function addPayStub($employeeId, $stub = array())
{
Expand All @@ -142,7 +142,7 @@ public function addPayStub($employeeId, $stub = array())
*
* @param string $recordId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getPayStub($recordId)
{
Expand All @@ -154,7 +154,7 @@ public function getPayStub($recordId)
*
* @param string $recordId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function deletePayStub($recordId)
{
Expand All @@ -166,7 +166,7 @@ public function deletePayStub($recordId)
*
* @param string $employeeId
*
* @return BambooHR\Api\Response
* @return \BambooHR\Api\Response
*/
public function getPayrollDeductions($employeeId)
{
Expand Down
Loading

0 comments on commit ebeada0

Please sign in to comment.