mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 09:03:07 +03:00
Merge pull request #892 from acelaya-forks/feature/fix-typehint
Feature/fix typehint
This commit is contained in:
commit
4dbcf6857e
4 changed files with 24 additions and 3 deletions
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -4,6 +4,24 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
### Added
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
* *Nothing*
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
* [#891](https://github.com/shlinkio/shlink/issues/891) Fixed error when running migrations in postgres due to incorrect return type hint.
|
||||||
|
* [#846](https://github.com/shlinkio/shlink/issues/846) Fixed base image used for the PHP-FPM dev container.
|
||||||
|
|
||||||
|
|
||||||
## [2.4.0] - 2020-11-08
|
## [2.4.0] - 2020-11-08
|
||||||
### Added
|
### Added
|
||||||
* [#829](https://github.com/shlinkio/shlink/issues/829) Added support for QR codes in SVG format, by passing `?format=svg` to the QR code URL.
|
* [#829](https://github.com/shlinkio/shlink/issues/829) Added support for QR codes in SVG format, by passing `?format=svg` to the QR code URL.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
FROM php:7.4.11-alpine3.12 as base
|
FROM php:7.4.11-alpine3.12 as base
|
||||||
|
|
||||||
ARG SHLINK_VERSION=2.3.0
|
ARG SHLINK_VERSION=2.4.0
|
||||||
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
ENV SHLINK_VERSION ${SHLINK_VERSION}
|
||||||
ENV SWOOLE_VERSION 4.5.5
|
ENV SWOOLE_VERSION 4.5.5
|
||||||
ENV LC_ALL "C"
|
ENV LC_ALL "C"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM php:7.4.11-alpine3.12
|
FROM php:7.4.11-fpm-alpine3.12
|
||||||
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
|
MAINTAINER Alejandro Celaya <alejandro@alejandrocelaya.com>
|
||||||
|
|
||||||
ENV APCU_VERSION 5.1.18
|
ENV APCU_VERSION 5.1.18
|
||||||
|
|
|
@ -60,7 +60,10 @@ final class Version20201102113208 extends AbstractMigration
|
||||||
->execute();
|
->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function resolveOneApiKeyId(Result $result): ?string
|
/**
|
||||||
|
* @return string|int|null
|
||||||
|
*/
|
||||||
|
private function resolveOneApiKeyId(Result $result)
|
||||||
{
|
{
|
||||||
$results = [];
|
$results = [];
|
||||||
while ($row = $result->fetchAssociative()) {
|
while ($row = $result->fetchAssociative()) {
|
||||||
|
|
Loading…
Reference in a new issue