diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-10-13 00:22:45 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-12-02 22:39:16 +0100 |
commit | a0ab3c3f68ed3bca7d218e6e5847820b82b086ca (patch) | |
tree | 7b1473bd9096853287af2ef533f59e8eca0bed68 /plugins/qrcode | |
parent | f211e417bf637b8a83988175c29ee072c69f7642 (diff) | |
download | Shaarli-a0ab3c3f68ed3bca7d218e6e5847820b82b086ca.tar.gz Shaarli-a0ab3c3f68ed3bca7d218e6e5847820b82b086ca.tar.zst Shaarli-a0ab3c3f68ed3bca7d218e6e5847820b82b086ca.zip |
lint: apply phpcbf to plugins/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'plugins/qrcode')
-rw-r--r-- | plugins/qrcode/qrcode.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/qrcode/qrcode.php b/plugins/qrcode/qrcode.php index 0f96a106..4b59caa0 100644 --- a/plugins/qrcode/qrcode.php +++ b/plugins/qrcode/qrcode.php | |||
@@ -17,7 +17,8 @@ function hook_qrcode_render_linklist($data) | |||
17 | $qrcode_html = file_get_contents(PluginManager::$PLUGINS_PATH . '/qrcode/qrcode.html'); | 17 | $qrcode_html = file_get_contents(PluginManager::$PLUGINS_PATH . '/qrcode/qrcode.html'); |
18 | 18 | ||
19 | foreach ($data['links'] as &$value) { | 19 | foreach ($data['links'] as &$value) { |
20 | $qrcode = sprintf($qrcode_html, | 20 | $qrcode = sprintf( |
21 | $qrcode_html, | ||
21 | urlencode($value['url']), | 22 | urlencode($value['url']), |
22 | $value['url'], | 23 | $value['url'], |
23 | PluginManager::$PLUGINS_PATH | 24 | PluginManager::$PLUGINS_PATH |