@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 168 | * Set the name of the browser |
| 169 | - * @param $browser string The name of the Browser |
|
| 169 | + * @param string $browser string The name of the Browser |
|
| 170 | 170 | */ |
| 171 | 171 | public function setBrowser($browser) |
| 172 | 172 | { |
@@ -274,7 +274,7 @@ discard block |
||
| 274 | 274 | |
| 275 | 275 | /** |
| 276 | 276 | * Set the browser to be from AOL |
| 277 | - * @param $isAol |
|
| 277 | + * @param boolean $isAol |
|
| 278 | 278 | */ |
| 279 | 279 | public function setAol($isAol) |
| 280 | 280 | { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * |
| 74 | 74 | * @since 3.0.0 |
| 75 | 75 | * |
| 76 | - * @param string|Calendar $calendar |
|
| 76 | + * @param Default_Calendar $calendar |
|
| 77 | 77 | */ |
| 78 | 78 | public function __construct( $calendar = '' ) { |
| 79 | 79 | $this->calendar = $calendar; |
@@ -414,7 +414,7 @@ |
||
| 414 | 414 | * @since 3.0.0 |
| 415 | 415 | * @access private |
| 416 | 416 | * |
| 417 | - * @param int|float $latlng |
|
| 417 | + * @param integer $latlng |
|
| 418 | 418 | * |
| 419 | 419 | * @return int|float |
| 420 | 420 | */ |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | * @since 3.0.0 |
| 44 | 44 | * |
| 45 | 45 | * @param array $e Events. |
| 46 | - * @param string|\DateTimeZone $tz Timezone. |
|
| 46 | + * @param string $tz Timezone. |
|
| 47 | 47 | */ |
| 48 | 48 | public function __construct( $e = array(), $tz = 'UTC' ) { |
| 49 | 49 | $this->set_events( $e ); |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * |
| 270 | 270 | * @since 3.0.0 |
| 271 | 271 | * |
| 272 | - * @param int|string $present |
|
| 272 | + * @param integer $present |
|
| 273 | 273 | * |
| 274 | 274 | * @return Events |
| 275 | 275 | */ |
@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | * |
| 291 | 291 | * @since 3.0.0 |
| 292 | 292 | * |
| 293 | - * @param int|string $present |
|
| 293 | + * @param integer $present |
|
| 294 | 294 | * |
| 295 | 295 | * @return Events |
| 296 | 296 | */ |
@@ -400,7 +400,7 @@ |
||
| 400 | 400 | * @since 3.0.0 |
| 401 | 401 | * |
| 402 | 402 | * @param string $tz |
| 403 | - * @param mixed $default |
|
| 403 | + * @param string $default |
|
| 404 | 404 | * |
| 405 | 405 | * @return mixed|string |
| 406 | 406 | */ |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * |
| 74 | 74 | * @since 3.0.0 |
| 75 | 75 | * |
| 76 | - * @param string|Calendar $calendar |
|
| 76 | + * @param Default_Calendar $calendar |
|
| 77 | 77 | */ |
| 78 | 78 | public function __construct( $calendar = '' ) { |
| 79 | 79 | $this->calendar = $calendar; |
@@ -584,8 +584,8 @@ discard block |
||
| 584 | 584 | * @since 3.0.0 |
| 585 | 585 | * @access private |
| 586 | 586 | * |
| 587 | - * @param $title |
|
| 588 | - * @param $attr |
|
| 587 | + * @param string $title |
|
| 588 | + * @param string $attr |
|
| 589 | 589 | * |
| 590 | 590 | * @return string |
| 591 | 591 | */ |
@@ -1023,6 +1023,13 @@ discard block |
||
| 1023 | 1023 | } |
| 1024 | 1024 | |
| 1025 | 1025 | //allow other plugins to replace own (registered) event tags with their value |
| 1026 | + |
|
| 1027 | + /** |
|
| 1028 | + * @param string $tag |
|
| 1029 | + * @param string $partial |
|
| 1030 | + * @param string $attr |
|
| 1031 | + * @param Event $event |
|
| 1032 | + */ |
|
| 1026 | 1033 | private function do_custom_event_tag( $tag, $partial, $attr, $event ) { |
| 1027 | 1034 | $returnvalue = apply_filters( 'simcal_event_tags_do_custom', "", $tag, $partial, $attr, $event ); |
| 1028 | 1035 | |