Completed
Push — master ( 8538b3...935035 )
by frank
02:00
created
classes/autoptimizeImages.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -382,6 +382,9 @@  discard block
 block discarded – undo
382 382
         }
383 383
     }
384 384
 
385
+    /**
386
+     * @return string
387
+     */
385 388
     private function get_imgopt_base_url()
386 389
     {
387 390
         static $imgopt_base_url = null;
@@ -873,6 +876,9 @@  discard block
 block discarded – undo
873 876
         }
874 877
     }
875 878
 
879
+    /**
880
+     * @return string
881
+     */
876 882
     public function get_cdn_url() {
877 883
         // getting CDN url here to avoid having to make bigger changes to autoptimizeBase.
878 884
         static $cdn_url = null;
@@ -976,6 +982,9 @@  discard block
 block discarded – undo
976 982
         return $out;
977 983
     }
978 984
 
985
+    /**
986
+     * @return string
987
+     */
979 988
     public function process_bgimage( $in ) {
980 989
         if ( strpos( $in, 'background-image:' ) !== false && apply_filters( 'autoptimize_filter_imgopt_lazyload_backgroundimages', true ) ) {
981 990
             $out = preg_replace_callback(
@@ -1345,7 +1354,7 @@  discard block
 block discarded – undo
1345 1354
     /**
1346 1355
      * Determines and returns the service launch status.
1347 1356
      *
1348
-     * @return bool
1357
+     * @return null|boolean
1349 1358
      */
1350 1359
     public function launch_ok()
1351 1360
     {
Please login to merge, or discard this patch.