Passed
Branch master (83f3e8)
by Arkadiusz
02:29
created
src/Clustering/KMeans/Cluster.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @return mixed
131
+     * @return integer
132 132
      */
133 133
     public function count()
134 134
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Clustering\KMeans;
6 6
 
Please login to merge, or discard this patch.
src/NeuralNetwork/Network/MultilayerPerceptron.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -142,6 +142,9 @@
 block discarded – undo
142 142
         $this->addLayer(new Layer($nodes, Input::class));
143 143
     }
144 144
 
145
+    /**
146
+     * @param ActivationFunction $defaultActivationFunction
147
+     */
145 148
     private function addNeuronLayers(array $layers, ?ActivationFunction $defaultActivationFunction = null): void
146 149
     {
147 150
         foreach ($layers as $layer) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\NeuralNetwork\Network;
6 6
 
Please login to merge, or discard this patch.
src/Association/Associator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\Association;
6 6
 
Please login to merge, or discard this patch.
src/SupportVectorMachine/DataTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\SupportVectorMachine;
6 6
 
Please login to merge, or discard this patch.
src/SupportVectorMachine/Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\SupportVectorMachine;
6 6
 
Please login to merge, or discard this patch.
src/SupportVectorMachine/SupportVectorMachine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\SupportVectorMachine;
6 6
 
Please login to merge, or discard this patch.
src/SupportVectorMachine/Kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\SupportVectorMachine;
6 6
 
Please login to merge, or discard this patch.
src/NeuralNetwork/Network/LayeredNetwork.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\NeuralNetwork\Network;
6 6
 
Please login to merge, or discard this patch.
src/NeuralNetwork/Network.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Phpml\NeuralNetwork;
6 6
 
Please login to merge, or discard this patch.