Completed
Pull Request — master (#1181)
by Christian
16:45 queued 13:32
created
Tests/Helpers/PHPUnit_Framework_TestCase.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * {@inheritdoc}
25
+     * @param string $exception
25 26
      */
26 27
     public function expectException($exception, $message = '', $code = null)
27 28
     {
@@ -42,6 +43,7 @@  discard block
 block discarded – undo
42 43
 
43 44
     /**
44 45
      * {@inheritdoc}
46
+     * @param string $originalClassName
45 47
      */
46 48
     protected function createMock($originalClassName)
47 49
     {
Please login to merge, or discard this patch.
Tests/Twig/Extension/MediaExtensionTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
         $mediaExtension->thumbnail($media, $format, $options);
74 74
     }
75 75
 
76
+    /**
77
+     * @return Sonata\MediaBundle\Provider\Pool
78
+     */
76 79
     public function getMediaService()
77 80
     {
78 81
         $mediaService = $this->getMockBuilder('Sonata\MediaBundle\Provider\Pool')
@@ -83,6 +86,9 @@  discard block
 block discarded – undo
83 86
         return $mediaService;
84 87
     }
85 88
 
89
+    /**
90
+     * @return Sonata\CoreBundle\Model\ManagerInterface
91
+     */
86 92
     public function getMediaManager()
87 93
     {
88 94
         return $this->createMock('Sonata\CoreBundle\Model\ManagerInterface');
@@ -107,6 +113,9 @@  discard block
 block discarded – undo
107 113
         return $this->template;
108 114
     }
109 115
 
116
+    /**
117
+     * @return Twig_Environment
118
+     */
110 119
     public function getEnvironment()
111 120
     {
112 121
         if (is_null($this->environment)) {
Please login to merge, or discard this patch.