Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. /**
  2. * Constructs the Widget object
  3. *
  4. * Basic constructor for the widget object.
  5. * Another line of pointless explanation, badly worded.
  6. *
  7. * @param string $id The ID of the widget
  8. * @param int $size The Size of the widget
  9. * @return void
  10. * @throws InvalidArgumentException
  11. */
  12. public function __construct($id, $size) {
  13. $this->id = $id;
  14. $this->size = $size;
  15. }
  16.  
  17. Argument $id is missing from the Docblock of __construct
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement