Skip to content

Commit eca6b6c

Browse files
oakbanimikeproeng37
authored andcommitted
Complete Project Code Styling (#84)
1 parent 299f482 commit eca6b6c

File tree

59 files changed

+2209
-1562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2209
-1562
lines changed

src/Optimizely/Bucketer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class Bucketer
5555

5656
/**
5757
* Bucketer constructor.
58+
*
5859
* @param LoggerInterface $logger
5960
*/
6061
public function __construct(LoggerInterface $logger)
@@ -103,8 +104,7 @@ private function findBucket($bucketingId, $userId, $parentId, $trafficAllocation
103104
$bucketingNumber = $this->generateBucketValue($bucketingKey);
104105
$this->_logger->log(Logger::DEBUG, sprintf('Assigned bucket %s to user "%s" with bucketing ID "%s".', $bucketingNumber, $userId, $bucketingId));
105106

106-
forEach ($trafficAllocations as $trafficAllocation)
107-
{
107+
foreach ($trafficAllocations as $trafficAllocation) {
108108
$currentEnd = $trafficAllocation->getEndOfRange();
109109
if ($bucketingNumber < $currentEnd) {
110110
return $trafficAllocation->getEntityId();

0 commit comments

Comments
 (0)