Completed
Push — master ( 67d37c...483c69 )
by Ruud
06:47
created
src/Kunstmaan/NodeBundle/Helper/PageCloningHelper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -84,6 +84,10 @@  discard block
 block discarded – undo
84 84
         }
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $locale
89
+     * @param string $title
90
+     */
87 91
     public function clonePage(Node $originalNode, $locale, $title = null)
88 92
     {
89 93
         $originalNodeTranslations = $originalNode->getNodeTranslation($locale, true);
@@ -123,6 +127,10 @@  discard block
 block discarded – undo
123 127
         return $nodeNewPage;
124 128
     }
125 129
 
130
+    /**
131
+     * @param Node $originalNode
132
+     * @param Node $nodeNewPage
133
+     */
126 134
     private function updateAcl($originalNode, $nodeNewPage): void
127 135
     {
128 136
         $originalIdentity = $this->identityRetrievalStrategy->getObjectIdentity($originalNode);
Please login to merge, or discard this patch.