This repository was archived by the owner on Jan 30, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ protected function hasType($matchAgainst)
291291 * Match a media string against this header
292292 *
293293 * @param array|string $matchAgainst
294- * @return array |boolean The matched value or false
294+ * @return AcceptFieldValuePart |boolean The matched value or false
295295 */
296296 public function match ($ matchAgainst )
297297 {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ abstract class AbstractFieldValuePart
3131 * A Field Value Part this Field Value Part matched against.
3232 * @var AbstractFieldValuePart
3333 */
34- protected $ matchedPart ;
34+ protected $ matchedAgainst ;
3535
3636 /**
3737 *
@@ -46,22 +46,22 @@ public function __construct($internalValues)
4646 * Set a Field Value Part this Field Value Part matched against.
4747 *
4848 * @param AbstractFieldValuePart $matchedPart
49- * return AbstractFieldValuePart provides fluent interface
49+ * @ return AbstractFieldValuePart provides fluent interface
5050 */
51- public function setMatchedAgainst (AbstractFieldValuePart $ matchedPart )
51+ public function setMatchedAgainst (AbstractFieldValuePart $ matchedAgainst )
5252 {
53- $ this ->matchedPart = $ matchedPart ;
53+ $ this ->matchedAgainst = $ matchedAgainst ;
5454 return $ this ;
5555 }
5656
5757 /**
5858 * Get a Field Value Part this Field Value Part matched against.
5959 *
60- * return AbstractFieldValuePart|null
60+ * @ return AbstractFieldValuePart|null
6161 */
6262 public function getMatchedAgainst ()
6363 {
64- return $ this ->matchedPart ;
64+ return $ this ->matchedAgainst ;
6565 }
6666
6767 /**
You can’t perform that action at this time.
0 commit comments