Completed
Branch master (6e56f1)
by Tomáš
08:15
created
src/Bundle/SculpinBundle/Command/ContainerDebugCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -264,6 +264,9 @@
 block discarded – undo
264 264
         }
265 265
     }
266 266
 
267
+    /**
268
+     * @param string|null $className
269
+     */
267 270
     protected function buildArgumentsArray($serviceId, $scope, $className, array $tagAttributes = array())
268 271
     {
269 272
         $arguments = array($serviceId);
Please login to merge, or discard this patch.
src/Bundle/SculpinBundle/HttpKernel/AbstractKernel.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -28,6 +28,8 @@
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * {@inheritdoc}
31
+     * @param boolean $debug
32
+     * @param string $projectDir
31 33
      */
32 34
     public function __construct($environment, $debug, $projectDir = null)
33 35
     {
Please login to merge, or discard this patch.
src/Bundle/ThemeBundle/ThemeTwigExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -138,6 +138,9 @@
 block discarded – undo
138 138
         return array_reverse($paths);
139 139
     }
140 140
 
141
+    /**
142
+     * @param string $resource
143
+     */
141 144
     private function findThemeResource($theme, $resource)
142 145
     {
143 146
         if (file_exists($theme['path'].'/'.$resource)) {
Please login to merge, or discard this patch.
src/Core/SiteConfiguration/SiteConfigurationFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Get an instance of the Configuration() class from the given file.
38 38
      *
39 39
      * @param  string $configFile
40
-     * @return YamlFileConfigurationBuilder
40
+     * @return \Dflydev\DotAccessConfiguration\ConfigurationInterface
41 41
      */
42 42
     private function getConfigFile($configFile)
43 43
     {
Please login to merge, or discard this patch.
src/Core/Tests/Permalink/SourcePermalinkFactoryTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         );
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $relativePathname
73
+     */
71 74
     private static function makeTestSource($relativePathname, array $configuration = array())
72 75
     {
73 76
         $configuration = new Configuration($configuration);
Please login to merge, or discard this patch.
src/Core/Tests/Source/CompositeDataSourceTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,6 +16,11 @@
 block discarded – undo
16 16
 
17 17
 class CompositeDataSourceTest extends \PHPUnit_Framework_TestCase
18 18
 {
19
+    /**
20
+     * @param string $dataSourceId
21
+     *
22
+     * @return \Sculpin\Core\Source\DataSourceInterface
23
+     */
19 24
     public function makeDataSource($dataSourceId)
20 25
     {
21 26
         $dataSource = $this->getMock('Sculpin\Core\Source\DataSourceInterface');
Please login to merge, or discard this patch.
src/Core/Tests/Source/FileSourceTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
         return $source;
22 22
     }
23 23
 
24
+    /**
25
+     * @return Analyzer
26
+     */
24 27
     public function makeTestAnalyzer()
25 28
     {
26 29
         $analyzer = $this->getMock('Dflydev\Canal\Analyzer\Analyzer');
@@ -62,6 +65,9 @@  discard block
 block discarded – undo
62 65
         return $factory;
63 66
     }
64 67
 
68
+    /**
69
+     * @return \Sculpin\Core\Source\DataSourceInterface
70
+     */
65 71
     public function makeTestDatasource()
66 72
     {
67 73
         $datasource = $this->getMock('Sculpin\Core\Source\DataSourceInterface');
Please login to merge, or discard this patch.
src/Core/Tests/Source/Map/CalculatedDateFromFilenameMapTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
         $this->assertEquals(strtotime("2013-12-12"), $source->data()->get('calculated_date'));
63 63
     }
64 64
 
65
+    /**
66
+     * @param integer $timestamp
67
+     */
65 68
     protected function getSourceWithCalculatedDate($timestamp)
66 69
     {
67 70
         return new MemorySource(
@@ -78,6 +81,9 @@  discard block
 block discarded – undo
78 81
         );
79 82
     }
80 83
 
84
+    /**
85
+     * @param string $path
86
+     */
81 87
     protected function getSourceWithoutCalculatedDateAndPathname($path)
82 88
     {
83 89
         return new MemorySource(
Please login to merge, or discard this patch.
src/Core/Tests/Source/SourceSetTest.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -15,6 +15,11 @@
 block discarded – undo
15 15
 
16 16
 class SourceSetTest extends \PHPUnit_Framework_TestCase
17 17
 {
18
+    /**
19
+     * @param string $sourceId
20
+     *
21
+     * @return \Sculpin\Core\Source\SourceInterface
22
+     */
18 23
     public function makeTestSource($sourceId, $hasChanged = true)
19 24
     {
20 25
         $source = $this->getMock('Sculpin\Core\Source\SourceInterface');
Please login to merge, or discard this patch.