Completed
Pull Request — master (#7)
by Navarr
03:19
created
src/AudioPlayer.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -345,6 +345,9 @@  discard block
 block discarded – undo
345 345
         return $this;
346 346
     }
347 347
 
348
+    /**
349
+     * @param integer $size
350
+     */
348 351
     protected function isValidSize($size)
349 352
     {
350 353
         return in_array(
@@ -435,7 +438,7 @@  discard block
 block discarded – undo
435 438
     /**
436 439
      * Get Player Theme.
437 440
      *
438
-     * @return bool
441
+     * @return integer
439 442
      */
440 443
     public function getTheme()
441 444
     {
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -845,7 +845,7 @@  discard block
 block discarded – undo
845 845
         $query['theme'] = $this->getTheme();
846 846
 
847 847
         $seperator = $encode ? '&' : '&';
848
-        $url .= '?'.http_build_query($query, $seperator);
848
+        $url .= '?' . http_build_query($query, $seperator);
849 849
 
850 850
         return $url;
851 851
     }
@@ -861,14 +861,14 @@  discard block
 block discarded – undo
861 861
     {
862 862
         // Build the string
863 863
         $html = '<object type="application/x-shockwave-flash"';
864
-        $html .= ' width="'.$this->getWidth().'"';
865
-        $html .= ' height="'.$this->getHeight().'"';
866
-        $html .= ' data="'.$this->getEmbedURL().'"';
864
+        $html .= ' width="' . $this->getWidth() . '"';
865
+        $html .= ' height="' . $this->getHeight() . '"';
866
+        $html .= ' data="' . $this->getEmbedURL() . '"';
867 867
         if ($this->isInvisible()) {
868 868
             $html .= ' style="visibility:hidden;display:inline;"';
869 869
         }
870 870
         $html .= '>';
871
-        $html .= '<param name="movie" value="'.$this->getEmbedURL().'" />';
871
+        $html .= '<param name="movie" value="' . $this->getEmbedURL() . '" />';
872 872
         $html .= '<param name="wmode" value="transparent" />';
873 873
         $html .= '</object>';
874 874
 
Please login to merge, or discard this patch.