PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
← All changes | vendor/symfony/stopwatch/Section.php +5 -5 3.0.133.2.90 View file →
@@ -68,10 +68,10 @@
68 68 * @return self
69 69 */
70 70 public function open(?string $id)
71 71 {
72 - if (null === $id || null === ($session = $this->get($id))) {
73 - $session = $this->children[] = new self(\microtime(\true) * 1000, $this->morePrecision);
72 + if (null === $id || null === $session = $this->get($id)) {
73 + $session = $this->children[] = new self(microtime(\true) * 1000, $this->morePrecision);
74 74 }
75 75 return $session;
76 76 }
77 77 /**
@@ -98,9 +98,9 @@
98 98 */
99 99 public function startEvent(string $name, ?string $category)
100 100 {
101 101 if (!isset($this->events[$name])) {
102 - $this->events[$name] = new StopwatchEvent($this->origin ?: \microtime(\true) * 1000, $category, $this->morePrecision, $name);
102 + $this->events[$name] = new StopwatchEvent($this->origin ?: microtime(\true) * 1000, $category, $this->morePrecision, $name);
103 103 }
104 104 return $this->events[$name]->start();
105 105 }
106 106 /**
@@ -121,9 +121,9 @@
121 121 */
122 122 public function stopEvent(string $name)
123 123 {
124 124 if (!isset($this->events[$name])) {
125 - throw new \LogicException(\sprintf('Event "%s" is not started.', $name));
125 + throw new \LogicException(sprintf('Event "%s" is not started.', $name));
126 126 }
127 127 return $this->events[$name]->stop();
128 128 }
129 129 /**
@@ -146,9 +146,9 @@
146 146 */
147 147 public function getEvent(string $name)
148 148 {
149 149 if (!isset($this->events[$name])) {
150 - throw new \LogicException(\sprintf('Event "%s" is not known.', $name));
150 + throw new \LogicException(sprintf('Event "%s" is not known.', $name));
151 151 }
152 152 return $this->events[$name];
153 153 }
154 154 /**