Completed
Push — master ( dffa51...61cbfa )
by Sebastien
02:05
created
Fixture/AbstractFixture.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
 
15 15
     protected $manager;
16 16
 
17
+    /**
18
+     * @param \Khepin\YamlFixturesBundle\Loader\YamlLoader $loader
19
+     */
17 20
     public function __construct(array $data, $loader)
18 21
     {
19 22
         $this->file = $data;
@@ -25,7 +28,7 @@  discard block
 block discarded – undo
25 28
 
26 29
     /**
27 30
      * Returns if the given tag is set for the current fixture
28
-     * @param  type    $tag
31
+     * @param  type    $tags
29 32
      * @return boolean
30 33
      */
31 34
     public function hasTag(Array $tags)
Please login to merge, or discard this patch.
Loader/YamlLoader.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -45,6 +45,10 @@  discard block
 block discarded – undo
45 45
      */
46 46
     protected $directory;
47 47
 
48
+    /**
49
+     * @param string[] $bundles
50
+     * @param string $directory
51
+     */
48 52
     public function __construct(KernelInterface $kernel, $bundles, $directory)
49 53
     {
50 54
         $this->bundles = $bundles;
@@ -126,6 +130,7 @@  discard block
 block discarded – undo
126 130
 
127 131
     /**
128 132
      * Remove all fixtures from the database
133
+     * @param string $persistence
129 134
      */
130 135
     public function purgeDatabase($persistence, $databaseName = null, $withTruncate = false)
131 136
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Khepin\YamlFixturesBundle\Loader;
4 4
 
5 5
 use Khepin\YamlFixturesBundle\Fixture\YamlAclFixture;
6
-use Doctrine\Common\Persistence\ObjectManager;
7 6
 use Doctrine\Common\DataFixtures\Purger\ORMPurger;
8 7
 use Symfony\Component\Yaml\Yaml;
9 8
 use Symfony\Component\HttpKernel\KernelInterface;
Please login to merge, or discard this patch.
tests/Khepin/Utils/BaseTestCaseOrm.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Creates default mapping driver
78 78
      *
79
-     * @return \Doctrine\ORM\Mapping\Driver\Driver
79
+     * @return AnnotationDriver
80 80
      */
81 81
     protected function getMetadataDriverImplementation()
82 82
     {
@@ -91,8 +91,7 @@  discard block
 block discarded – undo
91 91
      * annotation mapping driver and pdo_sqlite
92 92
      * database in memory
93 93
      *
94
-     * @param  EventManager  $evm
95
-     * @return EntityManager
94
+     * @return m\MockInterface
96 95
      */
97 96
     protected function getDoctrine()
98 97
     {
Please login to merge, or discard this patch.
tests/Khepin/Utils/BaseTestCaseMongo.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Creates default mapping driver
78 78
      *
79
-     * @return \Doctrine\ORM\Mapping\Driver\Driver
79
+     * @return AnnotationDriver
80 80
      */
81 81
     protected function getMetadataDriverImplementation()
82 82
     {
@@ -91,8 +91,7 @@  discard block
 block discarded – undo
91 91
      * annotation mapping driver and pdo_sqlite
92 92
      * database in memory
93 93
      *
94
-     * @param  EventManager  $evm
95
-     * @return EntityManager
94
+     * @return m\MockInterface
96 95
      */
97 96
     protected function getDoctrine()
98 97
     {
Please login to merge, or discard this patch.