Passed
Push — master ( 54f7d9...dbb97a )
by Joseph
20s
created
shortcodes/subway-shortcodes.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * Class Constructor.
41 41
      *
42
-     * @return void
42
+     * @return Shortcodes
43 43
      */
44 44
     private function __construct() 
45 45
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * Instantiate our class.
55 55
      * 
56
-     * @return mixed The instance of this class.
56
+     * @return Shortcodes|null The instance of this class.
57 57
      */
58 58
     public static function instance() 
59 59
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Displays the login form
93 93
      * 
94
-     * @return void
94
+     * @return null|string
95 95
      */
96 96
     public function loginForm( $atts )
97 97
     {
Please login to merge, or discard this patch.
classes/subway-metabox.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      * @since  2.0.9
200 200
      * @access public
201
-     * @return boolean false Returns false if nonce is not valid.
201
+     * @return boolean|null false Returns false if nonce is not valid.
202 202
      */
203 203
     public function saveVisibilityMetabox( $post_id = '' )
204 204
     {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
      *
269 269
      * @since  2.0.9
270 270
      * @access public
271
-     * @return boolean false Returns false if nonce is not valid.
271
+     * @return boolean|null false Returns false if nonce is not valid.
272 272
      */
273 273
     public function saveMetaboxValues( $post_id )
274 274
     {
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
      *
308 308
      * @since  2.0.9
309 309
      * @access public
310
-     * @return boolean true Returns true if nonce is valid.
310
+     * @return null|boolean true Returns true if nonce is valid.
311 311
      */
312 312
     public function isNonceValid( $nonce )
313 313
     {
Please login to merge, or discard this patch.
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,10 +147,13 @@
 block discarded – undo
147 147
                  </label>
148 148
             </p>
149 149
             <p class="howto"><?php echo esc_html($howto); ?></p>
150
-        <?php else: ?>
150
+        <?php else {
151
+	: ?>
151 152
             <?php // Site is public! Explain to them ?>
152 153
             <p><em>
153
-                <?php esc_html_e('You have chosen to make your site public inside Settings > Subway. Make your site private so that you can select visibility options.', 'subway'); ?>
154
+                <?php esc_html_e('You have chosen to make your site public inside Settings > Subway. Make your site private so that you can select visibility options.', 'subway');
155
+}
156
+?>
154 157
             </em>
155 158
             </p>
156 159
         <?php endif; ?>
Please login to merge, or discard this patch.