Skip to content

Commit

Permalink
Language matters (#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
fooman authored and mrook committed Jan 22, 2019
1 parent 5fda1e6 commit 9a25b57
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions classes/phing/tasks/ext/property/Variable.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,11 @@ private function forceProperty($name, $value)
}

/**
* Object rape: fondle the private parts of an object without it's
* permission.
* Get a private property of a class
*
* @param mixed $thisClass The class to rape.
* @param string $fieldName The field to fondle
* @return ReflectionProperty The field value
* @param mixed $thisClass The class
* @param string $fieldName The property to get
* @return ReflectionProperty The property value
* @throws Exception
*/
private function getField($thisClass, $fieldName)
Expand All @@ -135,8 +134,7 @@ private function getField($thisClass, $fieldName)
}

/**
* Object rape: fondle the private parts of an object without it's
* permission.
* Get a private property of an object
*
* @param mixed $instance the object instance
* @param string $fieldName the name of the field
Expand Down

0 comments on commit 9a25b57

Please sign in to comment.