Explorar o código

:wrench: fix bit order comment

smiley %!s(int64=2) %!d(string=hai) anos
pai
achega
ef1af6296c
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/Data/QRMatrix.php

+ 3 - 3
src/Data/QRMatrix.php

@@ -369,9 +369,9 @@ class QRMatrix{
 	 * The 8 flags of the bitmask represent the status of each of the neighbouring fields,
 	 * The 8 flags of the bitmask represent the status of each of the neighbouring fields,
 	 * starting with the lowest bit for top left, going clockwise:
 	 * starting with the lowest bit for top left, going clockwise:
 	 *
 	 *
-	 *   1 2 3
-	 *   8 # 4
-	 *   7 6 5
+	 *   0 1 2
+	 *   7 # 3
+	 *   6 5 4
 	 */
 	 */
 	public function checkNeighbours(int $x, int $y, int $M_TYPE = null):int{
 	public function checkNeighbours(int $x, int $y, int $M_TYPE = null):int{
 		$bits = 0;
 		$bits = 0;