This repository was archived by the owner on Jan 31, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -367,15 +367,15 @@ protected function isValid($item)
367
367
/**
368
368
* Append
369
369
*
370
- * @param string $value
370
+ * @param object $value
371
371
* @return void
372
372
* @throws Exception\InvalidArgumentException
373
373
*/
374
374
public function append ($ value )
375
375
{
376
376
if (! $ this ->isValid ($ value )) {
377
377
throw new Exception \InvalidArgumentException (
378
- 'Invalid value passed to append; please use appendMeta() '
378
+ 'Invalid value passed to append '
379
379
);
380
380
}
381
381
@@ -420,15 +420,15 @@ public function offsetUnset($index)
420
420
/**
421
421
* Prepend
422
422
*
423
- * @param string $value
423
+ * @param object $value
424
424
* @throws Exception\InvalidArgumentException
425
425
* @return void
426
426
*/
427
427
public function prepend ($ value )
428
428
{
429
429
if (! $ this ->isValid ($ value )) {
430
430
throw new Exception \InvalidArgumentException (
431
- 'Invalid value passed to prepend; please use prependMeta() '
431
+ 'Invalid value passed to prepend '
432
432
);
433
433
}
434
434
@@ -438,14 +438,14 @@ public function prepend($value)
438
438
/**
439
439
* Set
440
440
*
441
- * @param string $value
441
+ * @param object $value
442
442
* @throws Exception\InvalidArgumentException
443
443
* @return void
444
444
*/
445
445
public function set ($ value )
446
446
{
447
447
if (! $ this ->isValid ($ value )) {
448
- throw new Exception \InvalidArgumentException ('Invalid value passed to set; please use setMeta() ' );
448
+ throw new Exception \InvalidArgumentException ('Invalid value passed to set ' );
449
449
}
450
450
451
451
$ container = $ this ->getContainer ();
You can’t perform that action at this time.
0 commit comments