Completed
Push — master ( 55ab5a...492b47 )
by
unknown
03:15
created
includes/admin/post-types.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -341,8 +341,11 @@
 block discarded – undo
341 341
 						</label>
342 342
 					</p>
343 343
 					<p><input type="button" value="<?php _e( 'Insert Calendar', 'google-calendar-events' ); ?>" id="simcal-insert-shortcode" class="button button-primary button-large" name="" /></p>
344
-				<?php else : ?>
345
-					<p><em><?php _e( 'Could not find any calendars to add to this post.', 'google-calendar-events' ); ?></em></p>
344
+				<?php else {
345
+	: ?>
346
+					<p><em><?php _e( 'Could not find any calendars to add to this post.', 'google-calendar-events' );
347
+}
348
+?></em></p>
346 349
 					<strong><a href="post-new.php?post_type=calendar"><?php _e( 'Please add and configure new calendar first.', 'google-calendar-events' ); ?></a></strong>
347 350
 				<?php endif; ?>
348 351
 			</div>
Please login to merge, or discard this patch.
includes/calendars/views/default-calendar-grid.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,10 +453,12 @@
 block discarded – undo
453 453
 					$list_events .= '<button class="simcal-events-toggle"><i class="simcal-icon-down simcal-icon-animate"></i></button>';
454 454
 				endif;
455 455
 
456
-			else :
456
+			else {
457
+				:
457 458
 
458 459
 				// Empty cell for day with no events.
459 460
 				$list_events = '<span class="simcal-no-events"></span>';
461
+			}
460 462
 
461 463
 			endif;
462 464
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
includes/calendars/views/default-calendar-list.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -576,9 +576,11 @@
 block discarded – undo
576 576
 
577 577
 			endforeach;
578 578
 
579
-		else :
579
+		else {
580
+			:
580 581
 
581 582
 			echo "\t" . '<p>';
583
+		}
582 584
 
583 585
 			$message = get_post_meta( $calendar->id, '_no_events_message', true );
584 586
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
includes/browser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         {
Please login to merge, or discard this patch.
includes/events/event-builder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 *
66 66
 	 * @since  3.0.0
67 67
 	 *
68
-	 * @return array
68
+	 * @return string[]
69 69
 	 */
70 70
 	public function get_content_tags() {
71 71
 		return  array(
@@ -498,8 +498,8 @@  discard block
 block discarded – undo
498 498
 	 * @since  3.0.0
499 499
 	 * @access private
500 500
 	 *
501
-	 * @param  $title
502
-	 * @param  $attr
501
+	 * @param  string $title
502
+	 * @param  string $attr
503 503
 	 *
504 504
 	 * @return string
505 505
 	 */
Please login to merge, or discard this patch.
includes/events/event.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -414,7 +414,7 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
includes/events/events.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
includes/functions/shared.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@
 block discarded – undo
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
  */
Please login to merge, or discard this patch.